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.001923/0.001923, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002486/0.002486, allocations: 208.4 kB / 23.73 MB, free: 4.387 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.502/1.502, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.2278/0.2278, allocations: 46.97 MB / 360.9 MB, free: 3.996 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002048/0.002048, allocations: 71.88 kB / 0.4961 GB, free: 7.684 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3233, allocations: 66.04 MB / 0.5606 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02362/0.3469, allocations: 19.54 MB / 0.5797 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01283/0.3597, allocations: 5.386 MB / 0.5849 GB, free: 11.18 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004904/0.3646, allocations: 234.8 kB / 0.5852 GB, free: 10.95 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02258/0.3872, allocations: 8.839 MB / 0.5938 GB, free: 2.086 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008322/0.3955, allocations: 2.186 MB / 0.5959 GB, free: 15.89 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005724/0.4012, allocations: 1.866 MB / 0.5977 GB, free: 14.05 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01799/0.4192, allocations: 14.56 MB / 0.612 GB, free: 15.44 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03702/0.4563, allocations: 21.13 MB / 0.6326 GB, free: 10.08 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01291/0.4692, allocations: 8.164 MB / 0.6406 GB, free: 1.895 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01556/0.4847, allocations: 8.721 MB / 0.6491 GB, free: 9.141 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005776/0.4905, allocations: 2.098 MB / 0.6511 GB, free: 7.043 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008058/0.4986, allocations: 2.339 MB / 0.6534 GB, free: 4.707 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007387/0.5059, allocations: 4.329 MB / 0.6576 GB, free: 376 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01382/0.5198, allocations: 6.596 MB / 0.6641 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.03774/0.5575, allocations: 28.91 MB / 0.6923 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.111e-05/0.5575, allocations: 8 kB / 0.6923 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.164e-06/0.5575, allocations: 0 / 0.6923 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0007152/0.5582, allocations: 3.938 kB / 0.6923 GB, free: 12.73 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.06135/0.6196, allocations: 18.92 MB / 0.7108 GB, free: 9.695 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.261e-05/0.6196, allocations: 12.03 kB / 0.7108 GB, free: 9.684 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009533/0.6292, allocations: 2.013 MB / 0.7128 GB, free: 7.66 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06179/0.691, allocations: 11.48 MB / 0.724 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02496/0.7159, allocations: 9.044 MB / 0.7328 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001274/0.7172, allocations: 1.063 MB / 0.7339 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006136/0.7233, allocations: 1.367 MB / 0.7352 GB, free: 0.5781 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5707/1.294, allocations: 23.94 MB / 0.7586 GB, free: 125.3 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004698/1.294, allocations: 25.12 kB / 0.7586 GB, free: 125.3 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003997/1.298, allocations: 0.566 MB / 0.7592 GB, free: 124.7 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005957/1.299, allocations: 0.7041 MB / 0.7599 GB, free: 124 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04156/1.341, allocations: 21.66 MB / 0.781 GB, free: 102.3 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1061/1.447, allocations: 63.34 MB / 0.8429 GB, free: 38.96 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01522/1.462, allocations: 11.34 MB / 0.8539 GB, free: 29.03 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005968/1.468, allocations: 4.504 MB / 0.8583 GB, free: 24.5 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02466/1.493, allocations: 14.34 MB / 0.8723 GB, free: 10.35 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.565e-05/1.493, allocations: 86.05 kB / 0.8724 GB, free: 10.26 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=465): time 7.764e-06/1.493, allocations: 4 kB / 0.8724 GB, free: 10.25 MB / 0.5607 GB Notification: Performance of matching and sorting (n=465): time 0.03452/1.527, allocations: 15.44 MB / 0.8875 GB, free: 10.78 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/1.527, allocations: 120.7 kB / 0.8876 GB, free: 10.64 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008136/1.535, allocations: 5.296 MB / 0.8928 GB, free: 5.477 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0007429/1.536, allocations: 97.7 kB / 0.8929 GB, free: 5.375 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.004473/1.541, allocations: 6.103 MB / 0.8989 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.002272/1.543, allocations: 1.666 MB / 0.9005 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002571/1.545, allocations: 1.559 MB / 0.902 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001279/1.546, allocations: 305.1 kB / 0.9023 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007188/1.553, allocations: 4.148 MB / 0.9063 GB, free: 8.008 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01306/1.566, allocations: 7.266 MB / 0.9134 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02083/1.587, allocations: 11.95 MB / 0.9251 GB, free: 1.879 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000135/1.587, allocations: 32 kB / 0.9251 GB, free: 1.848 MB / 0.6075 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.02767/1.614, allocations: 13.09 MB / 0.9379 GB, free: 4.746 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 9.766e-05/1.615, allocations: 48 kB / 0.938 GB, free: 4.699 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001674/1.615, allocations: 104 kB / 0.9381 GB, free: 4.598 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00906/1.624, allocations: 3.086 MB / 0.9411 GB, free: 1.5 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009628/1.633, allocations: 1.607 MB / 0.9426 GB, free: 15.89 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00125/1.635, allocations: 335 kB / 0.943 GB, free: 15.55 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00992/1.645, allocations: 1.071 MB / 0.944 GB, free: 14.47 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001967/1.647, allocations: 392 kB / 0.9444 GB, free: 14.09 MB / 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.01619/1.663, allocations: 5.386 MB / 0.9496 GB, free: 8.688 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002132/1.665, allocations: 0.5201 MB / 0.9502 GB, free: 8.164 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02648/1.691, allocations: 9.553 MB / 0.9595 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.807e-05/1.691, allocations: 51.94 kB / 0.9595 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.746e-05/1.691, allocations: 0 / 0.9595 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.682e-05/1.692, allocations: 23.91 kB / 0.9596 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04327/1.735, allocations: 20.07 MB / 0.9792 GB, free: 10.35 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.932e-05/1.735, allocations: 0 / 0.9792 GB, free: 10.35 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003504/1.738, allocations: 0.7449 MB / 0.9799 GB, free: 9.605 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00699/1.745, allocations: 2.957 MB / 0.9828 GB, free: 6.633 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008351/1.746, allocations: 104 kB / 0.9829 GB, free: 6.531 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006717/1.747, allocations: 154.4 kB / 0.983 GB, free: 6.371 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/1.747, allocations: 4 kB / 0.983 GB, free: 6.367 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2845/2.031, allocations: 14.19 MB / 0.9969 GB, free: 221.9 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003482/2.035, allocations: 1.366 MB / 0.9982 GB, free: 221.6 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001027/2.036, allocations: 78.69 kB / 0.9983 GB, free: 221.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003002/2.039, allocations: 362.8 kB / 0.9986 GB, free: 221.5 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006408/2.04, allocations: 341.4 kB / 0.999 GB, free: 221.4 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002944/2.04, allocations: 133.9 kB / 0.9991 GB, free: 221.4 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.004384/2.044, allocations: 3.421 MB / 1.002 GB, free: 220.2 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.01e-07/2.044, allocations: 0 / 1.002 GB, free: 220.2 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.007423/2.052, allocations: 3.245 MB / 1.006 GB, free: 219.9 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.01915/2.071, allocations: 14.9 MB / 1.02 GB, free: 213.8 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01506/2.086, allocations: 9.515 MB / 1.029 GB, free: 209.4 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 9.908e-06/2.086, allocations: 0 / 1.029 GB, free: 209.4 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.008849/2.095, allocations: 4.111 MB / 1.033 GB, free: 206 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007533/2.102, allocations: 1.261 MB / 1.035 GB, free: 205 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1103/2.212, allocations: 77.9 MB / 1.111 GB, free: 126.2 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01297/2.225, allocations: 8.633 MB / 1.119 GB, free: 117.5 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.006236/2.232, allocations: 2.873 MB / 1.122 GB, free: 114.6 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005774/2.237, allocations: 4.701 MB / 1.127 GB, free: 109.9 MB / 0.67 GB Notification: Performance of SimCode: time 1.433e-06/2.237, allocations: 0 / 1.127 GB, free: 109.9 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.486/2.723, allocations: 175.5 MB / 1.298 GB, free: 209.7 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.26/23.98, allocations: 0 / 1.298 GB, free: 209.7 MB / 0.6857 GB " [Timeout remaining time 636] (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 658] Reference file matches [Calling sys.exit(0), Time elapsed: 30.974825798068196]