Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 79.73 kB / 21.97 MB, free: 2.594 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001633/0.001633, allocations: 173.6 kB / 25.33 MB, free: 9.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.7929/0.7929, allocations: 158.6 MB / 187.2 MB, free: 2.527 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor1_3.pin_p.reference.gamma|resistor2_3.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor1_3.pin_p.reference.gamma|resistor2_3.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 251.1 MB, free: 3.582 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.081e-05/3.296e-05, allocations: 6.312 kB / 251.1 MB, free: 3.574 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad): time 0.01235/0.01238, allocations: 14.08 MB / 265.1 MB, free: 5.426 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.008385/0.02077, allocations: 3.921 MB / 269.1 MB, free: 1.488 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003359/0.02413, allocations: 99.56 kB / 269.2 MB, free: 1.391 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007635/0.03176, allocations: 5.993 MB / 275.2 MB, free: 11.37 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005686/0.03745, allocations: 1.666 MB / 276.8 MB, free: 9.695 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002948/0.0404, allocations: 1.202 MB / 278 MB, free: 8.492 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.008229/0.04862, allocations: 7.088 MB / 285.1 MB, free: 1.375 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01277/0.0614, allocations: 9.222 MB / 294.3 MB, free: 8.035 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008264/0.06966, allocations: 5.25 MB / 299.6 MB, free: 2.777 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1292/0.1988, allocations: 4.079 MB / 303.7 MB, free: 26.55 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002486/0.2013, allocations: 0.9158 MB / 304.6 MB, free: 26.55 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002516/0.2039, allocations: 1.094 MB / 305.7 MB, free: 26.55 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001207/0.2051, allocations: 1.994 MB / 307.7 MB, free: 26.55 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002909/0.208, allocations: 2.585 MB / 310.2 MB, free: 26.55 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007993/0.216, allocations: 6.506 MB / 316.8 MB, free: 25.47 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.216, allocations: 7.062 kB / 316.8 MB, free: 25.47 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.216, allocations: 0 / 316.8 MB, free: 25.47 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.000306/0.2163, allocations: 0 / 316.8 MB, free: 25.47 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.01941/0.2357, allocations: 8.981 MB / 325.7 MB, free: 21.24 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.2357, allocations: 10.53 kB / 325.8 MB, free: 21.24 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03159/0.2673, allocations: 6.313 MB / 332.1 MB, free: 19.9 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00904/0.2764, allocations: 3.25 MB / 335.3 MB, free: 17.86 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003078/0.2767, allocations: 0.5134 MB / 335.8 MB, free: 17.63 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001787/0.2785, allocations: 0.6703 MB / 336.5 MB, free: 17.34 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01568/0.2941, allocations: 6.028 MB / 342.5 MB, free: 11.25 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001689/0.2943, allocations: 7.953 kB / 342.5 MB, free: 11.24 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009797/0.2953, allocations: 281.9 kB / 342.8 MB, free: 10.97 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002368/0.2955, allocations: 382.6 kB / 343.2 MB, free: 10.6 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008262/0.3038, allocations: 3.442 MB / 346.6 MB, free: 7.148 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03364/0.3374, allocations: 25.02 MB / 371.6 MB, free: 14.07 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006899/0.3443, allocations: 5.368 MB / 377 MB, free: 9.215 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001361/0.3457, allocations: 0.9888 MB / 378 MB, free: 8.223 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005659/0.3514, allocations: 3.744 MB / 381.7 MB, free: 4.543 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.83e-05/0.3514, allocations: 58.64 kB / 381.8 MB, free: 4.477 MB / 314.7 MB Notification: Performance of pre-optimization done (n=150): time 3.386e-06/0.3514, allocations: 0 / 381.8 MB, free: 4.477 MB / 314.7 MB Notification: Performance of matching and sorting (n=150): time 0.003307/0.3547, allocations: 1.874 MB / 383.7 MB, free: 2.609 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.594e-05/0.3547, allocations: 94.55 kB / 383.8 MB, free: 2.5 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003049/0.3578, allocations: 2.601 MB / 386.4 MB, free: 15.86 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.668e-05/0.3579, allocations: 53.7 kB / 386.4 MB, free: 15.8 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001811/0.3597, allocations: 3.425 MB / 389.8 MB, free: 12.38 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003947/0.3601, allocations: 0.5821 MB / 390.4 MB, free: 11.8 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008583/0.3609, allocations: 0.9 MB / 391.3 MB, free: 10.89 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.3611, allocations: 476.8 kB / 391.8 MB, free: 10.43 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008882/0.3619, allocations: 0.5386 MB / 392.3 MB, free: 9.887 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002142/0.3641, allocations: 3.221 MB / 395.6 MB, free: 5.523 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003225/0.3673, allocations: 4.039 MB / 399.6 MB, free: 0.5625 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.88e-05/0.3674, allocations: 20 kB / 399.6 MB, free: 0.543 MB / 330.7 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.004437/0.3718, allocations: 3.408 MB / 403 MB, free: 13.52 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.968e-05/0.3718, allocations: 32 kB / 403.1 MB, free: 13.49 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.102e-05/0.3719, allocations: 60.88 kB / 403.1 MB, free: 13.43 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007816/0.3727, allocations: 335.8 kB / 403.4 MB, free: 13.1 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002328/0.375, allocations: 0.8854 MB / 404.3 MB, free: 12.28 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00358/0.3786, allocations: 5.244 MB / 409.6 MB, free: 6.855 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002201/0.3808, allocations: 0.554 MB / 410.1 MB, free: 6.301 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002985/0.3811, allocations: 216 kB / 410.3 MB, free: 6.09 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 278 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (474): * Single equations (assignments): 472 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,22,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001947/0.383, allocations: 425.8 kB / 410.8 MB, free: 5.73 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003715/0.3834, allocations: 282.5 kB / 411 MB, free: 5.453 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002025/0.3854, allocations: 1.458 MB / 412.5 MB, free: 3.992 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/0.3854, allocations: 19.94 kB / 412.5 MB, free: 3.973 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/0.3855, allocations: 4 kB / 412.5 MB, free: 3.969 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.208e-05/0.3855, allocations: 7.969 kB / 412.5 MB, free: 3.961 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007543/0.393, allocations: 4.642 MB / 417.2 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-05/0.393, allocations: 0 / 417.2 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007599/0.3938, allocations: 266 kB / 417.4 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005844/0.3944, allocations: 251.5 kB / 417.7 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001141/0.3945, allocations: 35.98 kB / 417.7 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003258/0.3977, allocations: 5.139 MB / 422.8 MB, free: 9.406 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.3977, allocations: 4 kB / 422.8 MB, free: 9.402 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002601/0.4003, allocations: 1.894 MB / 424.7 MB, free: 7.484 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007171/0.4011, allocations: 382 kB / 425.1 MB, free: 7.109 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002161/0.4013, allocations: 28 kB / 425.1 MB, free: 7.082 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005898/0.4019, allocations: 102.7 kB / 425.2 MB, free: 6.984 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001875/0.4021, allocations: 116.9 kB / 425.3 MB, free: 6.875 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.064e-05/0.4021, allocations: 44 kB / 425.4 MB, free: 6.832 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001429/0.4035, allocations: 1.151 MB / 426.5 MB, free: 5.664 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4035, allocations: 0 / 426.5 MB, free: 5.664 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00336/0.4069, allocations: 1.541 MB / 428.1 MB, free: 4.117 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (voltageSource1.plug_p.reference.gamma,voltageSource2.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (134): * Single equations (assignments): 132 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (2,22,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000316/0.4072, allocations: 167.6 kB / 428.2 MB, free: 3.965 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003294/0.4105, allocations: 2.45 MB / 430.7 MB, free: 1.66 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/0.4105, allocations: 4 kB / 430.7 MB, free: 1.656 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001035/0.4116, allocations: 0.9762 MB / 431.7 MB, free: 0.6602 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001592/0.4131, allocations: 0.4984 MB / 432.2 MB, free: 172 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0133/0.4264, allocations: 8.766 MB / 440.9 MB, free: 7.348 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001354/0.4278, allocations: 1.612 MB / 442.6 MB, free: 5.711 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001993/0.4298, allocations: 1.13 MB / 443.7 MB, free: 4.574 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003631/0.4301, allocations: 180.5 kB / 443.9 MB, free: 4.398 MB / 378.7 MB Notification: Performance of SimCode: time 1.623e-06/0.4302, allocations: 4 kB / 443.9 MB, free: 4.395 MB / 378.7 MB Notification: Performance of Templates: time 0.152/0.5821, allocations: 31.2 MB / 475.1 MB, free: 101.7 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.629658210091293]