Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.SinglePhase.Ideal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 107.7 kB / 16.27 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001592/0.001592, allocations: 191.9 kB / 17.2 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.418/1.418, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1998/0.1998, allocations: 43.53 MB / 313.9 MB, free: 0.5312 MB / 254.1 MB 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.001467/0.001467, allocations: 71.25 kB / 382.8 MB, free: 56.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09571/0.09719, allocations: 57.78 MB / 440.6 MB, free: 6.828 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.006519/0.1037, allocations: 7.725 MB / 448.3 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004599/0.1084, allocations: 2.353 MB / 450.7 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006253/0.109, allocations: 31.94 kB / 450.7 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003749/0.1128, allocations: 1.816 MB / 452.5 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002126/0.115, allocations: 0.8932 MB / 453.4 MB, free: 9.945 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002276/0.1172, allocations: 0.8898 MB / 454.3 MB, free: 9.062 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00173/0.119, allocations: 1.428 MB / 455.8 MB, free: 7.629 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00137/0.1204, allocations: 1.016 MB / 456.8 MB, free: 6.594 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006178/0.121, allocations: 0.6072 MB / 457.4 MB, free: 5.984 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007057/0.1217, allocations: 0.7431 MB / 458.1 MB, free: 5.238 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001482/0.1219, allocations: 116 kB / 458.2 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006823/0.1226, allocations: 335.8 kB / 458.6 MB, free: 4.797 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002174/0.1228, allocations: 306.9 kB / 458.9 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005218/0.1233, allocations: 0.6685 MB / 459.5 MB, free: 3.824 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001714/0.125, allocations: 1.744 MB / 461.3 MB, free: 2.074 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.1251, allocations: 4 kB / 461.3 MB, free: 2.07 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1251, allocations: 0 / 461.3 MB, free: 2.07 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.297e-05/0.1251, allocations: 0 / 461.3 MB, free: 2.07 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 349 * Number of variables: 349 Notification: Performance of Generate backend data structure: time 0.007229/0.1323, allocations: 2.4 MB / 463.7 MB, free: 15.62 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.522e-05/0.1324, allocations: 15.89 kB / 463.7 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002155/0.1326, allocations: 199 kB / 463.9 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01092/0.1435, allocations: 1.49 MB / 465.4 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0012/0.1448, allocations: 0.6207 MB / 466 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.278e-05/0.1449, allocations: 103.1 kB / 466.1 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001911/0.1451, allocations: 140 kB / 466.2 MB, free: 13.01 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002457/0.1475, allocations: 1.523 MB / 467.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.576e-05/0.1476, allocations: 7.922 kB / 467.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001287/0.1477, allocations: 60 kB / 467.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.789e-05/0.1477, allocations: 32 kB / 467.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002506/0.1502, allocations: 1.576 MB / 469.4 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007419/0.1577, allocations: 5.558 MB / 475 MB, free: 3.914 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002351/0.1601, allocations: 2.37 MB / 477.4 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009704/0.161, allocations: 0.6575 MB / 478 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001297/0.1612, allocations: 110 kB / 478.1 MB, free: 496 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.621e-05/0.1612, allocations: 51.5 kB / 478.2 MB, free: 436 kB / 350.1 MB Notification: Performance of pre-optimization done (n=129): time 3.085e-06/0.1612, allocations: 4 kB / 478.2 MB, free: 432 kB / 350.1 MB Notification: Performance of matching and sorting (n=129): time 0.009076/0.1703, allocations: 3.164 MB / 481.3 MB, free: 13.23 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.075e-05/0.1704, allocations: 94.09 kB / 481.4 MB, free: 13.12 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005561/0.171, allocations: 473.9 kB / 481.9 MB, free: 12.65 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.369e-05/0.1711, allocations: 49.7 kB / 481.9 MB, free: 12.59 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002689/0.1713, allocations: 487.2 kB / 482.4 MB, free: 12.11 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003087/0.1716, allocations: 429.7 kB / 482.8 MB, free: 11.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003431/0.172, allocations: 234.7 kB / 483.1 MB, free: 11.45 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.1722, allocations: 386.8 kB / 483.5 MB, free: 11.06 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008279/0.173, allocations: 459.1 kB / 483.9 MB, free: 10.61 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001014/0.174, allocations: 0.7481 MB / 484.6 MB, free: 9.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001861/0.1759, allocations: 1.259 MB / 485.9 MB, free: 8.379 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.1759, allocations: 4 kB / 485.9 MB, free: 8.375 MB / 366.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.003031/0.1789, allocations: 1.658 MB / 487.6 MB, free: 6.707 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.719e-05/0.179, allocations: 12.41 kB / 487.6 MB, free: 6.695 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/0.179, allocations: 15.94 kB / 487.6 MB, free: 6.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001513/0.1805, allocations: 0.5357 MB / 488.1 MB, free: 6.145 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000808/0.1813, allocations: 207.7 kB / 488.3 MB, free: 5.941 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002324/0.1816, allocations: 61.19 kB / 488.4 MB, free: 5.879 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007542/0.1824, allocations: 126.6 kB / 488.5 MB, free: 5.754 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.979e-05/0.1825, allocations: 55.98 kB / 488.6 MB, free: 5.699 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 4 (booleanStep4.y,booleanStep3.y,booleanStep2.y,booleanStep1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(20,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0004792/0.1829, allocations: 273.5 kB / 488.8 MB, free: 5.422 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001692/0.1831, allocations: 87 kB / 488.9 MB, free: 5.336 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002744/0.1859, allocations: 1.583 MB / 490.5 MB, free: 3.738 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-05/0.1859, allocations: 15.98 kB / 490.5 MB, free: 3.723 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.1859, allocations: 0 / 490.5 MB, free: 3.723 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.32e-05/0.1859, allocations: 3.984 kB / 490.5 MB, free: 3.719 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004468/0.1904, allocations: 2.9 MB / 493.4 MB, free: 0.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.1904, allocations: 4.031 kB / 493.4 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006562/0.1911, allocations: 159.7 kB / 493.6 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00139/0.1925, allocations: 0.5145 MB / 494.1 MB, free: 80 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.241e-05/0.1926, allocations: 31.98 kB / 494.1 MB, free: 48 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.159e-05/0.1927, allocations: 28.78 kB / 494.2 MB, free: 16 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.1927, allocations: 0 / 494.2 MB, free: 16 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003613/0.1963, allocations: 2.304 MB / 496.5 MB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004209/0.1967, allocations: 283.7 kB / 496.7 MB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001184/0.1969, allocations: 27.94 kB / 496.8 MB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006168/0.1975, allocations: 47.97 kB / 496.8 MB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001844/0.1977, allocations: 77.2 kB / 496.9 MB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.324e-05/0.1978, allocations: 39.92 kB / 496.9 MB, free: 13.2 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003771/0.1982, allocations: 318.9 kB / 497.2 MB, free: 12.89 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1982, allocations: 4 kB / 497.2 MB, free: 12.88 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001016/0.1992, allocations: 343.1 kB / 497.6 MB, free: 12.55 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * Number of discrete variables: 4 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(20,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004168/0.2034, allocations: 2.904 MB / 0.4888 GB, free: 9.613 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003642/0.207, allocations: 1.431 MB / 0.4902 GB, free: 8.18 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.207, allocations: 320 / 0.4902 GB, free: 8.18 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001686/0.2087, allocations: 0.7737 MB / 0.4909 GB, free: 7.41 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000755/0.2095, allocations: 107.4 kB / 0.491 GB, free: 7.305 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01251/0.222, allocations: 8.897 MB / 0.4997 GB, free: 14.07 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005619/0.2226, allocations: 1.048 MB / 0.5007 GB, free: 13 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005356/0.2232, allocations: 115 kB / 0.5008 GB, free: 12.88 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004691/0.2236, allocations: 399.3 kB / 0.5012 GB, free: 12.49 MB / 398.1 MB Notification: Performance of SimCode: time 8.52e-07/0.2236, allocations: 4 kB / 0.5012 GB, free: 12.49 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1345/0.3581, allocations: 21.71 MB / 0.5224 GB, free: 6.762 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/12.14, allocations: 11.8 kB / 0.5224 GB, free: 6.75 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal.fmu > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches