Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001295/0.001295, allocations: 109.1 kB / 21.18 MB, free: 0.7656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001431/0.001431, allocations: 213.1 kB / 24.5 MB, free: 4.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.35/1.35, allocations: 230.5 MB / 258.2 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2332/0.2332, allocations: 46.92 MB / 361.5 MB, free: 4.16 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|vC.2.|iL.1.|iL.2.|vC.3.|vC.1.|iL.3.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep") translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|vC.2.|iL.1.|iL.2.|vC.3.|vC.1.|iL.3.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002326/0.002326, allocations: 83.86 kB / 0.4974 GB, free: 7.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3448/0.3471, allocations: 66.08 MB / 0.5619 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep): time 0.0116/0.3587, allocations: 9.503 MB / 0.5712 GB, free: 10.66 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006397/0.3651, allocations: 2.85 MB / 0.574 GB, free: 7.805 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001132/0.3663, allocations: 87.56 kB / 0.5741 GB, free: 7.719 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008038/0.3743, allocations: 3.787 MB / 0.5778 GB, free: 3.922 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003506/0.3778, allocations: 1.096 MB / 0.5789 GB, free: 2.824 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001884/0.3797, allocations: 0.7938 MB / 0.5796 GB, free: 2.035 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005937/0.3856, allocations: 4.867 MB / 0.5844 GB, free: 13.15 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01068/0.3963, allocations: 7.772 MB / 0.592 GB, free: 5.25 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004581/0.4009, allocations: 2.852 MB / 0.5948 GB, free: 2.391 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005371/0.4063, allocations: 3.165 MB / 0.5979 GB, free: 15.21 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001432/0.4077, allocations: 0.7656 MB / 0.5986 GB, free: 14.45 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002136/0.4098, allocations: 0.9296 MB / 0.5995 GB, free: 13.52 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001557/0.4114, allocations: 1.609 MB / 0.6011 GB, free: 11.91 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004092/0.4155, allocations: 3.012 MB / 0.604 GB, free: 8.883 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01232/0.4278, allocations: 10.49 MB / 0.6143 GB, free: 14.36 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.4278, allocations: 0 / 0.6143 GB, free: 14.36 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.4278, allocations: 0 / 0.6143 GB, free: 14.36 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002837/0.4281, allocations: 0 / 0.6143 GB, free: 14.36 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1440 * Number of variables: 1440 Notification: Performance of Generate backend data structure: time 0.01806/0.4461, allocations: 6.344 MB / 0.6205 GB, free: 7.961 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.4462, allocations: 8.031 kB / 0.6205 GB, free: 7.953 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02111/0.4673, allocations: 3.934 MB / 0.6243 GB, free: 4.012 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007939/0.4752, allocations: 3.265 MB / 0.6275 GB, free: 0.707 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003855/0.4756, allocations: 386.5 kB / 0.6279 GB, free: 336 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001903/0.4775, allocations: 0.5 MB / 0.6284 GB, free: 15.82 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01742/0.4949, allocations: 8.7 MB / 0.6369 GB, free: 7.086 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.539e-05/0.495, allocations: 11.94 kB / 0.6369 GB, free: 7.074 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000531/0.4956, allocations: 216 kB / 0.6371 GB, free: 6.863 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003548/0.4959, allocations: 339.1 kB / 0.6374 GB, free: 6.527 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01448/0.5104, allocations: 8.039 MB / 0.6452 GB, free: 14.46 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0463/0.5567, allocations: 25.27 MB / 0.6699 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01131/0.568, allocations: 4.632 MB / 0.6744 GB, free: 116 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002714/0.5707, allocations: 1.487 MB / 0.6759 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002205/0.5709, allocations: 69.81 kB / 0.676 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.906e-05/0.571, allocations: 64.5 kB / 0.676 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=214): time 3.787e-06/0.571, allocations: 0 / 0.676 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of matching and sorting (n=214): time 0.006202/0.5772, allocations: 3.519 MB / 0.6795 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.779e-05/0.5773, allocations: 103 kB / 0.6796 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006011/0.5833, allocations: 3.43 MB / 0.6829 GB, free: 7.387 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001594/0.5835, allocations: 61.7 kB / 0.683 GB, free: 7.32 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.00191/0.5854, allocations: 2.23 MB / 0.6851 GB, free: 5.07 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007997/0.5862, allocations: 0.7786 MB / 0.6859 GB, free: 4.285 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001157/0.5873, allocations: 0.7108 MB / 0.6866 GB, free: 3.566 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.5875, allocations: 305.1 kB / 0.6869 GB, free: 3.266 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002592/0.5901, allocations: 1.564 MB / 0.6884 GB, free: 1.699 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004161/0.5942, allocations: 3.187 MB / 0.6915 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006727/0.6009, allocations: 5.075 MB / 0.6965 GB, free: 7.891 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.451e-05/0.601, allocations: 20 kB / 0.6965 GB, free: 7.871 MB / 0.5294 GB Notification: Performance of matching and sorting (n=442) (initialization): time 0.008383/0.6094, allocations: 4.968 MB / 0.7014 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.602e-05/0.6094, allocations: 28 kB / 0.7014 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-05/0.6095, allocations: 56 kB / 0.7014 GB, free: 2.812 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.944e-05/0.6096, allocations: 76 kB / 0.7015 GB, free: 2.738 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003076/0.6127, allocations: 0.9164 MB / 0.7024 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000119/0.6128, allocations: 111.6 kB / 0.7025 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002611/0.6154, allocations: 0.5781 MB / 0.7031 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000351/0.6158, allocations: 192 kB / 0.7033 GB, free: 0.9414 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 252 * 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 (442): * Single equations (assignments): 442 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003338/0.6191, allocations: 2.077 MB / 0.7053 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005742/0.6197, allocations: 278.1 kB / 0.7056 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005972/0.6257, allocations: 3.172 MB / 0.7087 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.889e-05/0.6257, allocations: 27.98 kB / 0.7087 GB, free: 11.35 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-05/0.6257, allocations: 4 kB / 0.7087 GB, free: 11.35 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-05/0.6257, allocations: 7.969 kB / 0.7087 GB, free: 11.34 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01566/0.6414, allocations: 8.657 MB / 0.7171 GB, free: 2.402 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.819e-05/0.6414, allocations: 16 kB / 0.7172 GB, free: 2.387 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00214/0.6436, allocations: 0.5617 MB / 0.7177 GB, free: 1.824 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-05/0.6436, allocations: 28.59 kB / 0.7177 GB, free: 1.797 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001855/0.6438, allocations: 79.98 kB / 0.7178 GB, free: 1.719 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.809e-05/0.6438, allocations: 39.86 kB / 0.7179 GB, free: 1.68 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.889e-05/0.6438, allocations: 23.94 kB / 0.7179 GB, free: 1.656 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007468/0.6513, allocations: 5.268 MB / 0.723 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001709/0.653, allocations: 0.6457 MB / 0.7237 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006086/0.6536, allocations: 76 kB / 0.7237 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001467/0.6551, allocations: 123.9 kB / 0.7238 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003503/0.6554, allocations: 229.2 kB / 0.7241 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001616/0.6556, allocations: 99.97 kB / 0.7242 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00414/0.6597, allocations: 2.388 MB / 0.7265 GB, free: 8.496 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.6597, allocations: 0 / 0.7265 GB, free: 8.496 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00358/0.6633, allocations: 1.11 MB / 0.7276 GB, free: 7.379 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 73 * Number of states: 2 (currentSource.currentSource.plug_p.reference.gamma,voltageSource.voltageSource.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 (275): * Single equations (assignments): 275 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004697/0.6638, allocations: 222.5 kB / 0.7278 GB, free: 7.148 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005902/0.6697, allocations: 3.477 MB / 0.7312 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.088e-05/0.6697, allocations: 4 kB / 0.7312 GB, free: 3.668 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002423/0.6721, allocations: 1.471 MB / 0.7326 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00306/0.6752, allocations: 0.5389 MB / 0.7331 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2521/0.9273, allocations: 9.23 MB / 0.7422 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0022/0.9295, allocations: 3.533 MB / 0.7456 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000834/0.9303, allocations: 290 kB / 0.7459 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of SimCode: time 1.253e-06/0.9303, allocations: 0 / 0.7459 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of Templates: time 0.06348/0.9938, allocations: 59.23 MB / 0.8037 GB, free: 94.42 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/FrequencySweep/FrequencySweep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.831851211143658]