Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001093, allocations: 95.88 kB / 17 MB, free: 6.074 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.001503/0.001503, allocations: 182 kB / 17.89 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.567/1.567, allocations: 223.3 MB / 241.9 MB, free: 14.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2325/0.2325, allocations: 44.24 MB / 337.3 MB, free: 2.535 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003513/0.0003514, allocations: 12 kB / 409.7 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1516, allocations: 61.93 MB / 471.6 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.007061/0.1587, allocations: 5.955 MB / 477.6 MB, free: 7.684 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004589/0.1633, allocations: 2.036 MB / 479.6 MB, free: 5.645 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001335/0.1647, allocations: 23.94 kB / 479.6 MB, free: 5.621 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008758/0.1656, allocations: 238.7 kB / 479.8 MB, free: 5.387 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002014/0.1676, allocations: 0.6951 MB / 480.5 MB, free: 4.691 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001131/0.1688, allocations: 493.4 kB / 481 MB, free: 4.215 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001273/0.1701, allocations: 1.046 MB / 482.1 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002341/0.1724, allocations: 1.276 MB / 483.3 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000667/0.1731, allocations: 402.3 kB / 483.7 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000594/0.1737, allocations: 0.5057 MB / 484.2 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.898e-05/0.1738, allocations: 51.94 kB / 484.3 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006671/0.1745, allocations: 207.8 kB / 484.5 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001839/0.1746, allocations: 191.1 kB / 484.7 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002185/0.1749, allocations: 209.1 kB / 484.9 MB, free: 308 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001213/0.1761, allocations: 1.098 MB / 486 MB, free: 15.2 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1761, allocations: 4 kB / 486 MB, free: 15.2 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.1761, allocations: 0 / 486 MB, free: 15.2 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.211e-05/0.1761, allocations: 0 / 486 MB, free: 15.2 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.003647/0.1798, allocations: 1.475 MB / 487.5 MB, free: 13.67 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.1798, allocations: 8.031 kB / 487.5 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008991/0.1888, allocations: 1.333 MB / 488.8 MB, free: 12.32 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001314/0.1902, allocations: 0.5207 MB / 489.3 MB, free: 11.76 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001071/0.1903, allocations: 90.36 kB / 489.4 MB, free: 11.67 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002021/0.1905, allocations: 124 kB / 489.5 MB, free: 11.55 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002304/0.1928, allocations: 1.137 MB / 490.7 MB, free: 10.38 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.694e-05/0.1929, allocations: 7.906 kB / 490.7 MB, free: 10.38 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001091/0.193, allocations: 44 kB / 490.7 MB, free: 10.33 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.739e-05/0.193, allocations: 36 kB / 490.8 MB, free: 10.3 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00231/0.1953, allocations: 1.376 MB / 492.1 MB, free: 8.914 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00755/0.2029, allocations: 4.69 MB / 496.8 MB, free: 3.934 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001714/0.2047, allocations: 0.9287 MB / 497.8 MB, free: 2.973 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005802/0.2053, allocations: 371.7 kB / 498.1 MB, free: 2.609 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001186/0.2054, allocations: 102.1 kB / 498.2 MB, free: 2.492 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.369e-05/0.2054, allocations: 43.56 kB / 498.3 MB, free: 2.441 MB / 366.1 MB Notification: Performance of pre-optimization done (n=89): time 3.988e-06/0.2055, allocations: 0 / 498.3 MB, free: 2.441 MB / 366.1 MB Notification: Performance of matching and sorting (n=89): time 0.002347/0.2078, allocations: 1.206 MB / 499.5 MB, free: 1.188 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.283e-05/0.2079, allocations: 60.41 kB / 499.5 MB, free: 1.117 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/0.2089, allocations: 0.7777 MB / 0.4886 GB, free: 340 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.646e-05/0.2089, allocations: 37.7 kB / 0.4886 GB, free: 296 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003666/0.2093, allocations: 459.2 kB / 0.4891 GB, free: 15.83 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002518/0.2096, allocations: 311.5 kB / 0.4893 GB, free: 15.52 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.123e-05/0.2096, allocations: 20 kB / 0.4894 GB, free: 15.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002183/0.2099, allocations: 394.7 kB / 0.4897 GB, free: 15.11 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000622/0.2105, allocations: 338.5 kB / 0.4901 GB, free: 14.78 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007782/0.2113, allocations: 0.5583 MB / 0.4906 GB, free: 14.12 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007345/0.212, allocations: 418.9 kB / 0.491 GB, free: 13.71 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.212, allocations: 7.781 kB / 0.491 GB, free: 13.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.001971/0.214, allocations: 1.131 MB / 0.4921 GB, free: 12.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.701e-05/0.214, allocations: 8 kB / 0.4921 GB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/0.2141, allocations: 8 kB / 0.4921 GB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003115/0.2144, allocations: 65.67 kB / 0.4922 GB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009099/0.2153, allocations: 247.7 kB / 0.4924 GB, free: 12.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002213/0.2175, allocations: 2.631 MB / 0.495 GB, free: 9.344 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008154/0.2184, allocations: 146.4 kB / 0.4951 GB, free: 9.199 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.553e-05/0.2185, allocations: 43.98 kB / 0.4952 GB, free: 9.156 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (133): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004373/0.2189, allocations: 245.5 kB / 0.4954 GB, free: 8.906 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001281/0.219, allocations: 94.81 kB / 0.4955 GB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001904/0.221, allocations: 1.114 MB / 0.4966 GB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.295e-06/0.221, allocations: 8 kB / 0.4966 GB, free: 7.656 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.221, allocations: 4 kB / 0.4966 GB, free: 7.652 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.193e-05/0.221, allocations: 7.969 kB / 0.4966 GB, free: 7.645 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00375/0.2248, allocations: 2.692 MB / 0.4992 GB, free: 4.719 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.067e-05/0.2248, allocations: 7.938 kB / 0.4993 GB, free: 4.711 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007038/0.2255, allocations: 183.7 kB / 0.4994 GB, free: 4.531 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002079/0.2257, allocations: 66.23 kB / 0.4995 GB, free: 4.461 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.89e-05/0.2258, allocations: 24 kB / 0.4995 GB, free: 4.438 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002189/0.228, allocations: 2.623 MB / 0.5021 GB, free: 1.551 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.786e-06/0.228, allocations: 11.94 kB / 0.5021 GB, free: 1.539 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3326/0.5606, allocations: 1.458 MB / 0.5035 GB, free: 45.98 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006161/0.5612, allocations: 213.2 kB / 0.5037 GB, free: 45.89 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003144/0.5616, allocations: 25.2 kB / 0.5037 GB, free: 45.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007708/0.5624, allocations: 56.2 kB / 0.5038 GB, free: 45.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002124/0.5626, allocations: 76.62 kB / 0.5039 GB, free: 45.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.553e-05/0.5627, allocations: 34.16 kB / 0.5039 GB, free: 45.89 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00111/0.5638, allocations: 0.5467 MB / 0.5044 GB, free: 45.8 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.5638, allocations: 0.625 kB / 0.5044 GB, free: 45.8 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001128/0.5649, allocations: 292.8 kB / 0.5047 GB, free: 45.8 MB / 382.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 (92): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002836/0.5652, allocations: 164.7 kB / 0.5049 GB, free: 45.71 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00211/0.5673, allocations: 1.062 MB / 0.5059 GB, free: 45.49 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.917e-06/0.5674, allocations: 2.469 kB / 0.5059 GB, free: 45.49 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001195/0.5686, allocations: 0.6194 MB / 0.5065 GB, free: 45.25 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001028/0.5696, allocations: 122.9 kB / 0.5066 GB, free: 45.24 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003519/0.5731, allocations: 2.092 MB / 0.5087 GB, free: 44.13 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006126/0.5738, allocations: 0.9957 MB / 0.5097 GB, free: 43.41 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007394/0.5745, allocations: 148.4 kB / 0.5098 GB, free: 43.37 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002597/0.5748, allocations: 78.09 kB / 0.5099 GB, free: 43.36 MB / 382.1 MB Notification: Performance of SimCode: time 1.653e-06/0.5748, allocations: 0 / 0.5099 GB, free: 43.36 MB / 382.1 MB Notification: Performance of Templates: time 0.0231/0.5979, allocations: 9.443 MB / 0.5191 GB, free: 41.54 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches