Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.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.001332/0.001332, allocations: 112.5 kB / 21.22 MB, free: 0.75 MB / 14.72 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.001395/0.001395, allocations: 205.2 kB / 24.52 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.489/1.489, allocations: 230.6 MB / 258.3 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2295/0.2295, allocations: 46.93 MB / 361.6 MB, free: 4.273 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 59.91 kB / 0.4969 GB, free: 7.918 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3578/0.3597, allocations: 66.05 MB / 0.5614 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.0267/0.3864, allocations: 22.85 MB / 0.5837 GB, free: 13.51 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01388/0.4003, allocations: 5.553 MB / 0.5892 GB, free: 7.938 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00583/0.4061, allocations: 234.8 kB / 0.5894 GB, free: 7.707 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02164/0.4278, allocations: 9.589 MB / 0.5988 GB, free: 14.1 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008204/0.436, allocations: 2.203 MB / 0.6009 GB, free: 11.89 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005865/0.4418, allocations: 1.934 MB / 0.6028 GB, free: 9.969 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.02126/0.4631, allocations: 14.55 MB / 0.617 GB, free: 11.36 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03589/0.499, allocations: 21.29 MB / 0.6378 GB, free: 5.84 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01462/0.5136, allocations: 8.152 MB / 0.6458 GB, free: 13.67 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0171/0.5307, allocations: 8.803 MB / 0.6544 GB, free: 4.836 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0065/0.5372, allocations: 2.098 MB / 0.6564 GB, free: 2.738 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007504/0.5447, allocations: 2.355 MB / 0.6587 GB, free: 392 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006938/0.5517, allocations: 4.333 MB / 0.6629 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0165/0.5682, allocations: 8.432 MB / 0.6712 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.04202/0.6102, allocations: 28.78 MB / 0.6993 GB, free: 6.699 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.6102, allocations: 0 / 0.6993 GB, free: 6.699 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.035e-06/0.6102, allocations: 0 / 0.6993 GB, free: 6.699 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0008475/0.611, allocations: 0 / 0.6993 GB, free: 6.699 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.06143/0.6725, allocations: 18.94 MB / 0.7178 GB, free: 3.656 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/0.6725, allocations: 12.03 kB / 0.7178 GB, free: 3.645 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0004243/0.6729, allocations: 385.1 kB / 0.7182 GB, free: 3.266 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009172/0.6821, allocations: 2.01 MB / 0.7201 GB, free: 1.246 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06622/0.7483, allocations: 11.49 MB / 0.7313 GB, free: 5.727 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4779/1.226, allocations: 9.03 MB / 0.7402 GB, free: 129.1 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009285/1.227, allocations: 1.062 MB / 0.7412 GB, free: 128.9 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005044/1.232, allocations: 1.369 MB / 0.7425 GB, free: 128.4 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05494/1.287, allocations: 23.64 MB / 0.7656 GB, free: 119.2 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006488/1.288, allocations: 22.47 kB / 0.7656 GB, free: 119.2 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0052/1.293, allocations: 0.5728 MB / 0.7662 GB, free: 118.6 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000665/1.294, allocations: 0.6939 MB / 0.7669 GB, free: 117.9 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05099/1.345, allocations: 21.74 MB / 0.7881 GB, free: 96.18 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1418/1.486, allocations: 69.74 MB / 0.8562 GB, free: 26.17 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01703/1.503, allocations: 11.4 MB / 0.8673 GB, free: 16.18 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006551/1.51, allocations: 4.512 MB / 0.8718 GB, free: 11.64 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03112/1.541, allocations: 15.28 MB / 0.8867 GB, free: 12.5 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.329e-05/1.541, allocations: 78.11 kB / 0.8868 GB, free: 12.41 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=465): time 7.294e-06/1.541, allocations: 0 / 0.8868 GB, free: 12.41 MB / 0.5763 GB Notification: Performance of matching and sorting (n=465): time 0.04195/1.583, allocations: 15.45 MB / 0.9018 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.788e-05/1.583, allocations: 128.7 kB / 0.902 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009851/1.593, allocations: 5.116 MB / 0.907 GB, free: 7.746 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001064/1.594, allocations: 97.7 kB / 0.9071 GB, free: 7.645 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.005675/1.6, allocations: 6.097 MB / 0.913 GB, free: 2.055 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.00278/1.603, allocations: 1.67 MB / 0.9146 GB, free: 380 kB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006229/1.609, allocations: 1.552 MB / 0.9162 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001508/1.609, allocations: 305.1 kB / 0.9164 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009343/1.618, allocations: 4.152 MB / 0.9205 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01239/1.631, allocations: 7.27 MB / 0.9276 GB, free: 1.637 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02067/1.651, allocations: 11.95 MB / 0.9393 GB, free: 4.219 MB / 0.6232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001375/1.652, allocations: 35.94 kB / 0.9393 GB, free: 4.184 MB / 0.6232 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.03149/1.683, allocations: 13.08 MB / 0.9521 GB, free: 7.078 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001315/1.683, allocations: 48.94 kB / 0.9521 GB, free: 7.031 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001815/1.683, allocations: 104 kB / 0.9522 GB, free: 6.93 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007545/1.691, allocations: 3.09 MB / 0.9552 GB, free: 3.832 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0066/1.698, allocations: 1.603 MB / 0.9568 GB, free: 2.227 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001029/1.699, allocations: 335 kB / 0.9571 GB, free: 1.887 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006592/1.705, allocations: 1.075 MB / 0.9582 GB, free: 0.8047 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001483/1.707, allocations: 392 kB / 0.9586 GB, free: 432 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.01096/1.718, allocations: 5.386 MB / 0.9638 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001847/1.719, allocations: 0.5239 MB / 0.9643 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02191/1.741, allocations: 9.553 MB / 0.9737 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.453e-05/1.741, allocations: 47.94 kB / 0.9737 GB, free: 0.8594 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.949e-05/1.741, allocations: 8 kB / 0.9737 GB, free: 0.8516 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.376e-05/1.742, allocations: 23.91 kB / 0.9737 GB, free: 0.8281 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3176/2.059, allocations: 20.87 MB / 0.9941 GB, free: 223.3 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.777e-05/2.059, allocations: 3.969 kB / 0.9941 GB, free: 223.3 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00335/2.062, allocations: 0.7406 MB / 0.9948 GB, free: 223.3 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005603/2.068, allocations: 2.964 MB / 0.9977 GB, free: 222.9 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009493/2.069, allocations: 99.3 kB / 0.9978 GB, free: 222.8 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000646/2.07, allocations: 146.8 kB / 0.998 GB, free: 222.8 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/2.07, allocations: 7.172 kB / 0.998 GB, free: 222.8 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01884/2.089, allocations: 14.19 MB / 1.012 GB, free: 217.5 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003056/2.092, allocations: 1.367 MB / 1.013 GB, free: 217.2 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009503/2.093, allocations: 75.38 kB / 1.013 GB, free: 217.1 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002783/2.095, allocations: 368.8 kB / 1.014 GB, free: 217 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006175/2.096, allocations: 340.6 kB / 1.014 GB, free: 217 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002951/2.096, allocations: 130.7 kB / 1.014 GB, free: 217 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.004008/2.1, allocations: 3.424 MB / 1.017 GB, free: 215.8 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.01e-07/2.1, allocations: 0 / 1.017 GB, free: 215.8 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.006956/2.107, allocations: 3.234 MB / 1.021 GB, free: 215.2 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.02059/2.128, allocations: 14.91 MB / 1.035 GB, free: 208 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01655/2.144, allocations: 9.517 MB / 1.044 GB, free: 199.5 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.331e-06/2.144, allocations: 0 / 1.044 GB, free: 199.5 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.007312/2.152, allocations: 4.116 MB / 1.048 GB, free: 195.4 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005766/2.157, allocations: 1.256 MB / 1.05 GB, free: 194.1 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1121/2.269, allocations: 77.94 MB / 1.126 GB, free: 112.6 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01366/2.283, allocations: 9.006 MB / 1.135 GB, free: 103.5 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.00628/2.289, allocations: 2.869 MB / 1.137 GB, free: 100.6 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006334/2.296, allocations: 4.701 MB / 1.142 GB, free: 95.94 MB / 0.67 GB Notification: Performance of SimCode: time 1.492e-06/2.296, allocations: 0 / 1.142 GB, free: 95.94 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5234/2.819, allocations: 184.2 MB / 1.322 GB, free: 181.9 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.04/28.86, allocations: 6.469 kB / 1.322 GB, free: 181.9 MB / 0.6857 GB " [Timeout remaining time 631] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal_fmu --startTime=0 --stopTime=1 --stepSize=0.00019976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal.fmu > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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: 38.53522467799485]