Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001572/0.001571, allocations: 108.3 kB / 17.07 MB, free: 5.992 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001464/0.001464, allocations: 192.7 kB / 20.02 MB, free: 3.066 MB / 14.72 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 1.512/1.512, allocations: 205.1 MB / 227.9 MB, free: 4.406 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.328/0.328, allocations: 43.51 MB / 320.8 MB, free: 9.023 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_MultiPhase_Ideal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_MultiPhase_Ideal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002146/0.002146, allocations: 79.88 kB / 450 MB, free: 11.12 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2746/0.2768, allocations: 57.78 MB / 0.4959 GB, free: 19.47 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal): time 0.01777/0.2946, allocations: 22.89 MB / 0.5183 GB, free: 1.141 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01374/0.3084, allocations: 5.514 MB / 0.5236 GB, free: 12.55 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005134/0.3136, allocations: 169.2 kB / 0.5238 GB, free: 12.51 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02299/0.3366, allocations: 9.494 MB / 0.5331 GB, free: 4.062 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009757/0.3464, allocations: 2.378 MB / 0.5354 GB, free: 1.672 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005924/0.3523, allocations: 1.719 MB / 0.5371 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.02139/0.3737, allocations: 14.66 MB / 0.5514 GB, free: 1.242 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05934/0.4331, allocations: 34.34 MB / 0.5849 GB, free: 14.67 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01564/0.4488, allocations: 8.046 MB / 0.5928 GB, free: 6.605 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01776/0.4666, allocations: 8.845 MB / 0.6014 GB, free: 13.73 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007742/0.4744, allocations: 2.113 MB / 0.6035 GB, free: 11.62 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01173/0.4862, allocations: 2.355 MB / 0.6058 GB, free: 9.262 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01107/0.4973, allocations: 4.395 MB / 0.6101 GB, free: 4.855 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01772/0.5151, allocations: 8.525 MB / 0.6184 GB, free: 12.3 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.5448/1.06, allocations: 28.76 MB / 0.6465 GB, free: 65.33 MB / 0.4982 GB Notification: Performance of FrontEnd - DAE generated: time 9.929e-06/1.06, allocations: 1.094 kB / 0.6465 GB, free: 65.33 MB / 0.4982 GB Notification: Performance of FrontEnd: time 2.114e-06/1.06, allocations: 0.6562 kB / 0.6465 GB, free: 65.33 MB / 0.4982 GB Notification: Performance of Transformations before backend: time 0.001114/1.061, allocations: 0 / 0.6465 GB, free: 65.33 MB / 0.4982 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3927 * Number of variables: 3927 Notification: Performance of Generate backend data structure: time 0.07677/1.138, allocations: 19.24 MB / 0.6653 GB, free: 60.55 MB / 0.4982 GB Notification: Performance of prepare preOptimizeDAE: time 5.94e-05/1.138, allocations: 13.67 kB / 0.6653 GB, free: 60.55 MB / 0.4982 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008646/1.147, allocations: 2.05 MB / 0.6673 GB, free: 60.41 MB / 0.4982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06344/1.21, allocations: 12.74 MB / 0.6797 GB, free: 57.77 MB / 0.4982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01694/1.227, allocations: 7.964 MB / 0.6875 GB, free: 54.11 MB / 0.4982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001025/1.228, allocations: 1.08 MB / 0.6886 GB, free: 53.62 MB / 0.4982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006611/1.235, allocations: 1.392 MB / 0.6899 GB, free: 52.54 MB / 0.4982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06169/1.296, allocations: 24.1 MB / 0.7135 GB, free: 28.39 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007796/1.297, allocations: 27.89 kB / 0.7135 GB, free: 28.36 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005399/1.303, allocations: 0.5796 MB / 0.7141 GB, free: 27.79 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007213/1.303, allocations: 0.7257 MB / 0.7148 GB, free: 27.07 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04564/1.349, allocations: 22.44 MB / 0.7367 GB, free: 4.613 MB / 0.4982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1467/1.496, allocations: 72.61 MB / 0.8076 GB, free: 11.43 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03115/1.527, allocations: 31.61 MB / 0.8385 GB, free: 8.852 MB / 0.6076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009254/1.536, allocations: 5.064 MB / 0.8434 GB, free: 3.766 MB / 0.6076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03115/1.568, allocations: 15.83 MB / 0.8589 GB, free: 3.945 MB / 0.6232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.396e-05/1.568, allocations: 82.11 kB / 0.8589 GB, free: 3.855 MB / 0.6232 GB Notification: Performance of pre-optimization done (n=465): time 7.384e-06/1.568, allocations: 0 / 0.8589 GB, free: 3.855 MB / 0.6232 GB Notification: Performance of matching and sorting (n=465): time 0.04009/1.608, allocations: 15.69 MB / 0.8743 GB, free: 4.098 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.786e-05/1.608, allocations: 128.2 kB / 0.8744 GB, free: 3.957 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009281/1.617, allocations: 5.257 MB / 0.8795 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0009666/1.618, allocations: 97.7 kB / 0.8796 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.005692/1.624, allocations: 6.269 MB / 0.8857 GB, free: 8.324 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.002665/1.627, allocations: 1.667 MB / 0.8874 GB, free: 6.68 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003281/1.63, allocations: 1.607 MB / 0.8889 GB, free: 5.066 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001453/1.63, allocations: 307.1 kB / 0.8892 GB, free: 4.766 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007467/1.638, allocations: 4.207 MB / 0.8933 GB, free: 0.5547 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.286/1.924, allocations: 7.552 MB / 0.9007 GB, free: 247.7 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01597/1.94, allocations: 12.32 MB / 0.9127 GB, free: 240.8 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002581/1.94, allocations: 31.31 kB / 0.9128 GB, free: 240.8 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1000) (initialization): time 0.02253/1.962, allocations: 13.48 MB / 0.9259 GB, free: 236 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001022/1.963, allocations: 53.34 kB / 0.926 GB, free: 236 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001686/1.963, allocations: 111.9 kB / 0.9261 GB, free: 236 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005598/1.968, allocations: 3.097 MB / 0.9291 GB, free: 235.2 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005783/1.974, allocations: 1.666 MB / 0.9307 GB, free: 235 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007138/1.975, allocations: 315.8 kB / 0.931 GB, free: 234.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006335/1.981, allocations: 1.128 MB / 0.9321 GB, free: 234.6 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001095/1.982, allocations: 403.9 kB / 0.9325 GB, free: 234.6 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 512 * 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 (853): * Single equations (assignments): 850 * 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.008295/1.991, allocations: 5.463 MB / 0.9379 GB, free: 232.2 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001202/1.992, allocations: 0.531 MB / 0.9384 GB, free: 232.1 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01335/2.005, allocations: 9.665 MB / 0.9478 GB, free: 225.1 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.44e-05/2.005, allocations: 48 kB / 0.9479 GB, free: 225 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.707e-05/2.005, allocations: 3.797 kB / 0.9479 GB, free: 225 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.252e-05/2.005, allocations: 28.12 kB / 0.9479 GB, free: 225 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03474/2.04, allocations: 20.84 MB / 0.9683 GB, free: 207.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.768e-05/2.04, allocations: 0 / 0.9683 GB, free: 207.3 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002966/2.043, allocations: 0.7345 MB / 0.969 GB, free: 206.6 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005263/2.048, allocations: 2.965 MB / 0.9719 GB, free: 203.6 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006061/2.049, allocations: 95.97 kB / 0.972 GB, free: 203.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000496/2.05, allocations: 130.5 kB / 0.9721 GB, free: 203.4 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/2.05, allocations: 7.688 kB / 0.9721 GB, free: 203.4 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01646/2.066, allocations: 14.18 MB / 0.9859 GB, free: 189.2 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003007/2.069, allocations: 1.394 MB / 0.9873 GB, free: 187.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001016/2.07, allocations: 87.94 kB / 0.9874 GB, free: 187.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002843/2.073, allocations: 367.6 kB / 0.9877 GB, free: 187.3 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006528/2.074, allocations: 315.4 kB / 0.988 GB, free: 187 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000285/2.074, allocations: 133.3 kB / 0.9882 GB, free: 186.9 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.004306/2.078, allocations: 3.505 MB / 0.9916 GB, free: 183.4 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.51e-07/2.078, allocations: 3.938 kB / 0.9916 GB, free: 183.4 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.008824/2.087, allocations: 3.281 MB / 0.9948 GB, free: 180.1 MB / 0.6544 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.01877/2.106, allocations: 14.9 MB / 1.009 GB, free: 165.1 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0153/2.121, allocations: 10.04 MB / 1.019 GB, free: 155.1 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/2.121, allocations: 9.453 kB / 1.019 GB, free: 155.1 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.007257/2.129, allocations: 4.443 MB / 1.023 GB, free: 150.6 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006534/2.135, allocations: 1.273 MB / 1.025 GB, free: 149.4 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1789/2.314, allocations: 79.73 MB / 1.103 GB, free: 65.69 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01536/2.329, allocations: 9.112 MB / 1.111 GB, free: 56.54 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.006505/2.336, allocations: 2.936 MB / 1.114 GB, free: 53.59 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006671/2.343, allocations: 4.76 MB / 1.119 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of SimCode: time 8.91e-07/2.343, allocations: 0 / 1.119 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4808/2.824, allocations: 180.5 MB / 1.295 GB, free: 122.3 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.7/27.52, allocations: 19.75 kB / 1.295 GB, free: 122.3 MB / 0.6544 GB " [Timeout remaining time 632] (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_MultiPhase_Ideal_fmu --startTime=0 --stopTime=1 --stepSize=0.00019976 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_MultiPhase_Ideal.fmu > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/MultiPhase/Ideal/Ideal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.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: 34.53125085495412]