Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.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.SerialConnection,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",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.001108/0.001108, allocations: 104.1 kB / 16.27 MB, free: 6.41 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.00145/0.00145, allocations: 191.8 kB / 17.2 MB, free: 5.953 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.398/1.398, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.2034/0.2034, allocations: 43.52 MB / 313.9 MB, free: 0.5352 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.002239/0.002239, allocations: 67.23 kB / 382.8 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1032, allocations: 57.79 MB / 440.6 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.006234/0.1095, allocations: 6.921 MB / 447.5 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004162/0.1137, allocations: 2.186 MB / 449.7 MB, free: 13.65 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004365/0.1141, allocations: 27.94 kB / 449.8 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003141/0.1173, allocations: 1.52 MB / 451.3 MB, free: 12.1 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001912/0.1192, allocations: 0.8584 MB / 452.1 MB, free: 11.24 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001202/0.1204, allocations: 0.5817 MB / 452.7 MB, free: 10.66 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001076/0.1215, allocations: 1.171 MB / 453.9 MB, free: 9.484 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001072/0.1226, allocations: 0.8159 MB / 454.7 MB, free: 8.648 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005381/0.1231, allocations: 482.1 kB / 455.2 MB, free: 8.176 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000582/0.1237, allocations: 0.6184 MB / 455.8 MB, free: 7.555 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001316/0.1239, allocations: 96 kB / 455.9 MB, free: 7.461 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006453/0.1245, allocations: 283.8 kB / 456.2 MB, free: 7.184 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001999/0.1247, allocations: 259 kB / 456.4 MB, free: 6.93 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004605/0.1252, allocations: 0.5635 MB / 457 MB, free: 6.363 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001318/0.1265, allocations: 1.46 MB / 458.4 MB, free: 4.898 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1266, allocations: 0 / 458.4 MB, free: 4.898 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.1266, allocations: 0 / 458.4 MB, free: 4.898 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.193e-05/0.1266, allocations: 0 / 458.4 MB, free: 4.898 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: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.003742/0.1303, allocations: 1.713 MB / 460.2 MB, free: 3.133 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.1304, allocations: 11.89 kB / 460.2 MB, free: 3.121 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001808/0.1306, allocations: 190.1 kB / 460.4 MB, free: 2.926 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01032/0.1409, allocations: 1.416 MB / 461.8 MB, free: 1.508 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/0.142, allocations: 0.5405 MB / 462.3 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.574e-05/0.1421, allocations: 98.48 kB / 462.4 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003257/0.1424, allocations: 123.9 kB / 462.5 MB, free: 0.707 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002589/0.145, allocations: 1.185 MB / 463.7 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.914e-05/0.1451, allocations: 7.906 kB / 463.7 MB, free: 15.49 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001507/0.1452, allocations: 52 kB / 463.8 MB, free: 15.44 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.287e-05/0.1453, allocations: 28 kB / 463.8 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0029/0.1482, allocations: 1.439 MB / 465.2 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00844/0.1566, allocations: 4.837 MB / 470.1 MB, free: 8.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001915/0.1586, allocations: 1.197 MB / 471.3 MB, free: 7.547 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006117/0.1592, allocations: 371.7 kB / 471.6 MB, free: 7.184 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001074/0.1593, allocations: 106.1 kB / 471.7 MB, free: 7.062 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/0.1594, allocations: 47.5 kB / 471.8 MB, free: 7.008 MB / 350.1 MB Notification: Performance of pre-optimization done (n=91): time 3.276e-06/0.1594, allocations: 0 / 471.8 MB, free: 7.008 MB / 350.1 MB Notification: Performance of matching and sorting (n=91): time 0.002295/0.1617, allocations: 1.202 MB / 473 MB, free: 5.754 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.744e-05/0.1617, allocations: 68.34 kB / 473.1 MB, free: 5.676 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/0.1627, allocations: 0.7934 MB / 473.8 MB, free: 4.875 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.042e-05/0.1628, allocations: 41.7 kB / 473.9 MB, free: 4.828 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003159/0.1631, allocations: 482.7 kB / 474.4 MB, free: 4.348 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002338/0.1634, allocations: 311.5 kB / 474.7 MB, free: 4.039 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003069/0.1637, allocations: 198.8 kB / 474.9 MB, free: 3.836 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.1639, allocations: 402.7 kB / 475.2 MB, free: 3.434 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006502/0.1645, allocations: 342.5 kB / 475.6 MB, free: 3.102 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000811/0.1654, allocations: 0.6024 MB / 476.2 MB, free: 2.387 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001415/0.1668, allocations: 0.9749 MB / 477.2 MB, free: 1.301 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.175e-05/0.1668, allocations: 4 kB / 477.2 MB, free: 1.297 MB / 350.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002243/0.1691, allocations: 1.17 MB / 478.3 MB, free: 116 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/0.1691, allocations: 9.25 kB / 478.3 MB, free: 108 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/0.1691, allocations: 8.656 kB / 478.3 MB, free: 100 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003056/0.1694, allocations: 73.67 kB / 478.4 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/0.1705, allocations: 259.6 kB / 478.7 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002136/0.1726, allocations: 2.84 MB / 481.5 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008898/0.1735, allocations: 146.2 kB / 481.7 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-05/0.1736, allocations: 55.98 kB / 481.7 MB, free: 12.45 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004005/0.174, allocations: 253.4 kB / 482 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001754/0.1742, allocations: 86.97 kB / 482 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001899/0.1761, allocations: 1.111 MB / 483.2 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/0.1761, allocations: 8 kB / 483.2 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/0.1761, allocations: 8 kB / 483.2 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.196e-05/0.1762, allocations: 7.922 kB / 483.2 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00385/0.18, allocations: 2.723 MB / 485.9 MB, free: 7.977 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.277e-05/0.18, allocations: 7.984 kB / 485.9 MB, free: 7.969 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007339/0.1808, allocations: 183.8 kB / 486.1 MB, free: 7.789 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002244/0.181, allocations: 61.67 kB / 486.1 MB, free: 7.723 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.309e-05/0.1811, allocations: 31.92 kB / 486.2 MB, free: 7.691 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002021/0.1831, allocations: 2.82 MB / 489 MB, free: 4.598 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/0.1831, allocations: 4 kB / 489 MB, free: 4.594 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002264/0.1854, allocations: 1.48 MB / 490.5 MB, free: 3.016 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002869/0.1857, allocations: 203.7 kB / 490.7 MB, free: 2.797 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001577/0.1859, allocations: 27.91 kB / 490.7 MB, free: 2.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007021/0.1866, allocations: 59.97 kB / 490.8 MB, free: 2.711 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001408/0.1867, allocations: 84.38 kB / 490.9 MB, free: 2.629 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.099e-05/0.1868, allocations: 32 kB / 490.9 MB, free: 2.598 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007301/0.1875, allocations: 0.5615 MB / 491.4 MB, free: 2.043 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1876, allocations: 0 / 491.4 MB, free: 2.043 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001001/0.1886, allocations: 295.5 kB / 491.7 MB, free: 1.754 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 1 (currentSource.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002602/0.1912, allocations: 2.08 MB / 493.8 MB, free: 15.56 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002333/0.1935, allocations: 1.126 MB / 494.9 MB, free: 14.41 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/0.1935, allocations: 4 kB / 494.9 MB, free: 14.41 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009647/0.1945, allocations: 0.6227 MB / 495.6 MB, free: 13.76 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008851/0.1954, allocations: 127.7 kB / 495.7 MB, free: 13.63 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01254/0.208, allocations: 8.931 MB / 0.4928 GB, free: 4.129 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005558/0.2085, allocations: 1 MB / 0.4938 GB, free: 3.098 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006607/0.2092, allocations: 151.6 kB / 0.4939 GB, free: 2.945 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004611/0.2097, allocations: 367.3 kB / 0.4943 GB, free: 2.586 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2097, allocations: 0 / 0.4943 GB, free: 2.586 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04436/0.2541, allocations: 18.88 MB / 0.5127 GB, free: 15.72 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/10.9, allocations: 4.062 kB / 0.5127 GB, free: 15.71 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection.fmu > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches