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: translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_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.001251/0.001251, allocations: 105.6 kB / 17.03 MB, free: 5.66 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.001183/0.001183, allocations: 192.1 kB / 17.96 MB, free: 5.066 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.569/1.569, allocations: 205.1 MB / 223.8 MB, free: 12.24 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.2515/0.2515, allocations: 43.52 MB / 314.7 MB, free: 472 kB / 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.001899/0.001899, allocations: 71.47 kB / 384.2 MB, free: 56.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1257, allocations: 57.78 MB / 442 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.007218/0.133, allocations: 6.928 MB / 448.9 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004986/0.138, allocations: 2.19 MB / 451.1 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001322/0.1393, allocations: 23.94 kB / 451.1 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003965/0.1434, allocations: 1.513 MB / 452.6 MB, free: 11.44 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003044/0.1464, allocations: 0.8579 MB / 453.5 MB, free: 10.58 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00186/0.1483, allocations: 0.5819 MB / 454.1 MB, free: 10 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00303/0.1513, allocations: 1.179 MB / 455.2 MB, free: 8.82 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002321/0.1537, allocations: 0.812 MB / 456 MB, free: 7.988 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00141/0.1551, allocations: 490 kB / 456.5 MB, free: 7.508 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001176/0.1563, allocations: 0.6146 MB / 457.1 MB, free: 6.891 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003943/0.1567, allocations: 99.94 kB / 457.2 MB, free: 6.793 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001141/0.1579, allocations: 283.8 kB / 457.5 MB, free: 6.516 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004103/0.1583, allocations: 251 kB / 457.8 MB, free: 6.27 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001184/0.1595, allocations: 0.5674 MB / 458.3 MB, free: 5.699 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003459/0.163, allocations: 1.479 MB / 459.8 MB, free: 4.215 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.163, allocations: 0 / 459.8 MB, free: 4.215 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.163, allocations: 0 / 459.8 MB, free: 4.215 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001009/0.1631, allocations: 0 / 459.8 MB, free: 4.215 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.005262/0.1684, allocations: 1.702 MB / 461.5 MB, free: 2.461 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.555e-05/0.1684, allocations: 15.89 kB / 461.5 MB, free: 2.445 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009963/0.1784, allocations: 1.424 MB / 462.9 MB, free: 1.02 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001235/0.1797, allocations: 0.5562 MB / 463.5 MB, free: 432 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.776e-05/0.1798, allocations: 90.48 kB / 463.6 MB, free: 340 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001891/0.18, allocations: 124 kB / 463.7 MB, free: 216 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002071/0.182, allocations: 1.189 MB / 464.9 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.756e-05/0.1821, allocations: 3.906 kB / 464.9 MB, free: 14.99 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000117/0.1822, allocations: 52 kB / 465 MB, free: 14.94 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.77e-05/0.1822, allocations: 32 kB / 465 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002375/0.1846, allocations: 1.442 MB / 466.4 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007679/0.1923, allocations: 4.808 MB / 471.2 MB, free: 8.348 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001927/0.1943, allocations: 1.2 MB / 472.4 MB, free: 7.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005551/0.1948, allocations: 363.7 kB / 472.8 MB, free: 6.715 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001154/0.195, allocations: 106.1 kB / 472.9 MB, free: 6.594 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.875e-05/0.195, allocations: 47.5 kB / 472.9 MB, free: 6.539 MB / 350.1 MB Notification: Performance of pre-optimization done (n=91): time 2.655e-06/0.195, allocations: 0 / 472.9 MB, free: 6.539 MB / 350.1 MB Notification: Performance of matching and sorting (n=91): time 0.002264/0.1973, allocations: 1.198 MB / 474.1 MB, free: 5.289 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.019e-05/0.1973, allocations: 68.28 kB / 474.2 MB, free: 5.211 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/0.1984, allocations: 0.7934 MB / 475 MB, free: 4.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.77e-05/0.1984, allocations: 45.7 kB / 475 MB, free: 4.359 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003282/0.1988, allocations: 478.7 kB / 475.5 MB, free: 3.883 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002396/0.199, allocations: 307.5 kB / 475.8 MB, free: 3.578 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003023/0.1993, allocations: 198.8 kB / 476 MB, free: 3.375 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002202/0.1995, allocations: 394.7 kB / 476.4 MB, free: 2.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005993/0.2002, allocations: 346.4 kB / 476.7 MB, free: 2.645 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007877/0.201, allocations: 0.6062 MB / 477.3 MB, free: 1.926 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001387/0.2024, allocations: 0.975 MB / 478.3 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.746e-06/0.2024, allocations: 4 kB / 478.3 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.001975/0.2044, allocations: 1.174 MB / 479.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.2044, allocations: 11.94 kB / 479.5 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.655e-05/0.2044, allocations: 12 kB / 479.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003212/0.2047, allocations: 65.67 kB / 479.6 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009871/0.2057, allocations: 259.6 kB / 479.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002183/0.2079, allocations: 2.84 MB / 482.7 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008694/0.2088, allocations: 154.2 kB / 482.8 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-05/0.2089, allocations: 48 kB / 482.9 MB, free: 11.98 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.0004244/0.2093, allocations: 254.3 kB / 483.1 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001441/0.2095, allocations: 90.95 kB / 483.2 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001798/0.2113, allocations: 1.103 MB / 484.3 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.2113, allocations: 12 kB / 484.3 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.2113, allocations: 0 / 484.3 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.28e-05/0.2113, allocations: 11.91 kB / 484.3 MB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003701/0.215, allocations: 2.722 MB / 487.1 MB, free: 7.516 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/0.2151, allocations: 8 kB / 487.1 MB, free: 7.508 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007213/0.2158, allocations: 183.7 kB / 487.2 MB, free: 7.328 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002128/0.216, allocations: 62.17 kB / 487.3 MB, free: 7.262 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.415e-05/0.2161, allocations: 24 kB / 487.3 MB, free: 7.238 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002683/0.2188, allocations: 2.82 MB / 490.1 MB, free: 4.141 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.2188, allocations: 4 kB / 490.1 MB, free: 4.137 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002768/0.2216, allocations: 1.485 MB / 491.6 MB, free: 2.559 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003992/0.222, allocations: 195.8 kB / 491.8 MB, free: 2.348 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001418/0.2221, allocations: 35.98 kB / 491.9 MB, free: 2.312 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006613/0.2228, allocations: 47.98 kB / 491.9 MB, free: 2.266 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001893/0.223, allocations: 84.38 kB / 492 MB, free: 2.184 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.165e-05/0.2231, allocations: 36 kB / 492 MB, free: 2.148 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000772/0.2239, allocations: 0.5576 MB / 492.6 MB, free: 1.598 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2239, allocations: 0 / 492.6 MB, free: 1.598 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001097/0.225, allocations: 295.4 kB / 492.9 MB, free: 1.309 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.0003594/0.2253, allocations: 171 kB / 493 MB, free: 1.129 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002003/0.2274, allocations: 1.089 MB / 494.1 MB, free: 8 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/0.2274, allocations: 4 kB / 494.1 MB, free: 4 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009285/0.2283, allocations: 0.6287 MB / 494.8 MB, free: 15.35 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007987/0.2291, allocations: 130.8 kB / 494.9 MB, free: 15.22 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003374/0.2325, allocations: 1.818 MB / 496.7 MB, free: 13.3 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000621/0.2331, allocations: 1.004 MB / 497.7 MB, free: 12.27 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005562/0.2337, allocations: 155.6 kB / 497.9 MB, free: 12.12 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002286/0.2339, allocations: 79.42 kB / 497.9 MB, free: 12.04 MB / 382.1 MB Notification: Performance of SimCode: time 1.904e-06/0.234, allocations: 0 / 497.9 MB, free: 12.04 MB / 382.1 MB Notification: Performance of Templates: time 0.02139/0.2554, allocations: 10.33 MB / 0.4964 GB, free: 1.742 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > 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