Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.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.001235/0.001235, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.001551/0.001551, allocations: 211 kB / 24.53 MB, free: 4.07 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.406/1.406, allocations: 230.5 MB / 258.2 MB, free: 8.023 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.2137/0.2137, allocations: 46.93 MB / 361.6 MB, free: 4.172 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: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002188/0.002188, allocations: 71.89 kB / 0.497 GB, free: 7.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3022/0.3044, allocations: 66.08 MB / 0.5615 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.0249/0.3293, allocations: 22.86 MB / 0.5838 GB, free: 13.33 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01207/0.3414, allocations: 5.549 MB / 0.5892 GB, free: 7.766 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003928/0.3453, allocations: 230.8 kB / 0.5895 GB, free: 7.539 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02135/0.3667, allocations: 9.59 MB / 0.5988 GB, free: 13.93 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007901/0.3746, allocations: 2.21 MB / 0.601 GB, free: 11.71 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005364/0.3799, allocations: 1.94 MB / 0.6029 GB, free: 9.789 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01804/0.398, allocations: 14.55 MB / 0.6171 GB, free: 11.19 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04149/0.4395, allocations: 21.29 MB / 0.6379 GB, free: 5.668 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01418/0.4536, allocations: 8.16 MB / 0.6458 GB, free: 13.49 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01548/0.4691, allocations: 8.799 MB / 0.6544 GB, free: 4.66 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006526/0.4757, allocations: 2.105 MB / 0.6565 GB, free: 2.555 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008747/0.4844, allocations: 2.351 MB / 0.6588 GB, free: 208 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007675/0.4921, allocations: 4.333 MB / 0.663 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.01523/0.5073, allocations: 8.428 MB / 0.6713 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.03554/0.5428, allocations: 28.77 MB / 0.6994 GB, free: 6.535 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.5428, allocations: 0 / 0.6994 GB, free: 6.535 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.883e-06/0.5428, allocations: 0 / 0.6994 GB, free: 6.535 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0007131/0.5436, allocations: 0 / 0.6994 GB, free: 6.535 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3858 * Number of variables: 3858 Notification: Performance of Generate backend data structure: time 0.0592/0.6028, allocations: 18.95 MB / 0.7179 GB, free: 3.48 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.6028, allocations: 8.031 kB / 0.7179 GB, free: 3.473 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0004218/0.6032, allocations: 385.1 kB / 0.7182 GB, free: 3.094 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007114/0.6103, allocations: 2.013 MB / 0.7202 GB, free: 1.07 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06051/0.6709, allocations: 11.48 MB / 0.7314 GB, free: 5.559 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.505/1.176, allocations: 9.042 MB / 0.7402 GB, free: 129 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000989/1.177, allocations: 1.063 MB / 0.7413 GB, free: 128.7 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005739/1.183, allocations: 1.372 MB / 0.7426 GB, free: 128.2 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05122/1.234, allocations: 23.64 MB / 0.7657 GB, free: 118.9 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005374/1.234, allocations: 18.86 kB / 0.7657 GB, free: 118.8 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003869/1.238, allocations: 0.5698 MB / 0.7663 GB, free: 118.3 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005613/1.239, allocations: 0.6978 MB / 0.767 GB, free: 117.6 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04078/1.28, allocations: 21.74 MB / 0.7882 GB, free: 95.83 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1039/1.383, allocations: 69.75 MB / 0.8563 GB, free: 25.8 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01682/1.4, allocations: 11.4 MB / 0.8674 GB, free: 15.81 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007263/1.407, allocations: 4.508 MB / 0.8718 GB, free: 11.28 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02689/1.434, allocations: 15.29 MB / 0.8868 GB, free: 12.15 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.855e-05/1.434, allocations: 82.11 kB / 0.8868 GB, free: 12.06 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=465): time 6.512e-06/1.434, allocations: 0 / 0.8868 GB, free: 12.06 MB / 0.5763 GB Notification: Performance of matching and sorting (n=465): time 0.04184/1.476, allocations: 15.44 MB / 0.9019 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.468e-05/1.476, allocations: 124.7 kB / 0.902 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00907/1.485, allocations: 5.117 MB / 0.907 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0008619/1.486, allocations: 97.7 kB / 0.9071 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.004613/1.491, allocations: 6.101 MB / 0.9131 GB, free: 1.703 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.002463/1.493, allocations: 1.666 MB / 0.9147 GB, free: 24 kB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004422/1.498, allocations: 1.551 MB / 0.9162 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001274/1.498, allocations: 301.1 kB / 0.9165 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007389/1.505, allocations: 4.148 MB / 0.9206 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01095/1.516, allocations: 7.274 MB / 0.9277 GB, free: 1.297 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01934/1.536, allocations: 11.96 MB / 0.9394 GB, free: 3.875 MB / 0.6232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001345/1.536, allocations: 35.88 kB / 0.9394 GB, free: 3.84 MB / 0.6232 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.02555/1.561, allocations: 13.08 MB / 0.9522 GB, free: 6.734 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001075/1.561, allocations: 51.98 kB / 0.9522 GB, free: 6.684 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000179/1.562, allocations: 104 kB / 0.9523 GB, free: 6.582 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006768/1.568, allocations: 3.086 MB / 0.9553 GB, free: 3.488 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006073/1.574, allocations: 1.599 MB / 0.9569 GB, free: 1.887 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008424/1.575, allocations: 338.9 kB / 0.9572 GB, free: 1.543 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006158/1.581, allocations: 1.075 MB / 0.9583 GB, free: 472 kB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001511/1.583, allocations: 388 kB / 0.9586 GB, free: 84 kB / 0.6388 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 473 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep4[3].y,booleanStep4[2].y,booleanStep4[1].y,booleanStep3[3].y,booleanStep3[2].y,booleanStep3[1].y,booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,booleanStep1[3].y,booleanStep1[2].y,booleanStep1[1].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (814): * Single equations (assignments): 811 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(20,30), (20,28), (20,28)} Notification: Performance of prepare postOptimizeDAE: time 0.009678/1.593, allocations: 5.389 MB / 0.9639 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001429/1.594, allocations: 0.5239 MB / 0.9644 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01884/1.613, allocations: 9.549 MB / 0.9737 GB, free: 0.5703 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.119e-05/1.613, allocations: 51.94 kB / 0.9738 GB, free: 0.5195 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.454e-05/1.613, allocations: 0 / 0.9738 GB, free: 0.5195 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.742e-05/1.613, allocations: 23.91 kB / 0.9738 GB, free: 0.4961 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2893/1.902, allocations: 20.87 MB / 0.9942 GB, free: 223.3 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.672e-05/1.902, allocations: 0 / 0.9942 GB, free: 223.3 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003056/1.905, allocations: 0.7434 MB / 0.9949 GB, free: 223.2 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004988/1.91, allocations: 2.972 MB / 0.9978 GB, free: 222.7 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005828/1.911, allocations: 99.5 kB / 0.9979 GB, free: 222.6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005688/1.912, allocations: 144 kB / 0.998 GB, free: 222.6 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/1.912, allocations: 2.125 kB / 0.998 GB, free: 222.6 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01591/1.927, allocations: 14.19 MB / 1.012 GB, free: 217.3 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003059/1.931, allocations: 1.365 MB / 1.013 GB, free: 217 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009031/1.931, allocations: 83.81 kB / 1.013 GB, free: 216.9 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00265/1.934, allocations: 360 kB / 1.014 GB, free: 216.8 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006455/1.935, allocations: 335.6 kB / 1.014 GB, free: 216.8 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002964/1.935, allocations: 137.5 kB / 1.014 GB, free: 216.8 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.004349/1.939, allocations: 3.421 MB / 1.017 GB, free: 215.6 MB / 0.67 GB Notification: Performance of sort global known variables: time 1e-07/1.939, allocations: 0 / 1.017 GB, free: 215.6 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.007209/1.947, allocations: 3.242 MB / 1.021 GB, free: 215 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (voltageSource.plug_p.reference.gamma) * Number of discrete variables: 12 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y,booleanStep4[1].y,booleanStep4[2].y,booleanStep4[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (357): * Single equations (assignments): 354 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(20,30), (20,28), (20,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01693/1.963, allocations: 14.91 MB / 1.035 GB, free: 207.6 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01363/1.977, allocations: 9.518 MB / 1.044 GB, free: 199 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/1.977, allocations: 4 kB / 1.044 GB, free: 199 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.006581/1.984, allocations: 4.108 MB / 1.048 GB, free: 194.9 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005715/1.989, allocations: 1.265 MB / 1.05 GB, free: 193.6 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.112/2.101, allocations: 77.93 MB / 1.126 GB, free: 112.1 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01255/2.114, allocations: 9.01 MB / 1.135 GB, free: 103 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.006033/2.12, allocations: 2.869 MB / 1.137 GB, free: 100.1 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005556/2.126, allocations: 4.697 MB / 1.142 GB, free: 95.44 MB / 0.67 GB Notification: Performance of SimCode: time 1.012e-06/2.126, allocations: 0 / 1.142 GB, free: 95.44 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.481/2.607, allocations: 184.2 MB / 1.322 GB, free: 181.1 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate platform static: time 24/26.61, allocations: 9.672 kB / 1.322 GB, free: 181.1 MB / 0.6857 GB " [Timeout remaining time 633] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal_fmu --startTime=0 --stopTime=1 --stepSize=0.00019976 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal.fmu > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/Ideal/Ideal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 657] Reference file matches [Calling sys.exit(0), Time elapsed: 35.84843457402894]