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.001513/0.001513, allocations: 100.9 kB / 16.27 MB, free: 5.93 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.001712/0.001712, allocations: 190.4 kB / 17.2 MB, free: 5.574 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.575/1.575, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2415/0.2415, allocations: 43.54 MB / 313.9 MB, free: 0.5195 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.00151/0.00151, allocations: 73.56 kB / 382.7 MB, free: 56.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.164, allocations: 57.79 MB / 440.5 MB, free: 6.906 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.008025/0.1721, allocations: 6.917 MB / 447.4 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004693/0.1768, allocations: 2.183 MB / 449.6 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004913/0.1773, allocations: 23.94 kB / 449.6 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003349/0.1807, allocations: 1.524 MB / 451.2 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002556/0.1833, allocations: 0.8584 MB / 452 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001639/0.1849, allocations: 0.5856 MB / 452.6 MB, free: 10.76 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001569/0.1865, allocations: 1.163 MB / 453.8 MB, free: 9.594 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00126/0.1878, allocations: 0.8197 MB / 454.6 MB, free: 8.754 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006131/0.1884, allocations: 498 kB / 455.1 MB, free: 8.266 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007702/0.1892, allocations: 0.6146 MB / 455.7 MB, free: 7.648 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001321/0.1893, allocations: 96 kB / 455.8 MB, free: 7.555 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008015/0.1901, allocations: 279.8 kB / 456.1 MB, free: 7.281 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002194/0.1904, allocations: 255 kB / 456.3 MB, free: 7.031 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005292/0.1909, allocations: 0.5713 MB / 456.9 MB, free: 6.457 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001554/0.1925, allocations: 1.456 MB / 458.3 MB, free: 4.996 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.448e-06/0.1925, allocations: 4 kB / 458.3 MB, free: 4.992 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1925, allocations: 0 / 458.3 MB, free: 4.992 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.392e-05/0.1925, allocations: 0 / 458.3 MB, free: 4.992 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.005055/0.1976, allocations: 1.702 MB / 460 MB, free: 3.238 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.721e-05/0.1977, allocations: 11.89 kB / 460.1 MB, free: 3.227 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01024/0.2079, allocations: 1.432 MB / 461.5 MB, free: 1.793 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001446/0.2094, allocations: 0.5367 MB / 462 MB, free: 1.215 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.426e-05/0.2095, allocations: 90.48 kB / 462.1 MB, free: 1.125 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002209/0.2097, allocations: 131.9 kB / 462.2 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002436/0.2122, allocations: 1.185 MB / 463.4 MB, free: 15.78 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.946e-05/0.2122, allocations: 3.906 kB / 463.4 MB, free: 15.78 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001294/0.2124, allocations: 52 kB / 463.5 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.257e-05/0.2124, allocations: 28 kB / 463.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002533/0.215, allocations: 1.439 MB / 464.9 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008504/0.2235, allocations: 4.847 MB / 469.8 MB, free: 9.105 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002139/0.2257, allocations: 1.197 MB / 471 MB, free: 7.832 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006542/0.2264, allocations: 367.7 kB / 471.4 MB, free: 7.473 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001298/0.2265, allocations: 102.1 kB / 471.5 MB, free: 7.355 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.538e-05/0.2266, allocations: 51.5 kB / 471.5 MB, free: 7.297 MB / 350.1 MB Notification: Performance of pre-optimization done (n=91): time 2.625e-06/0.2266, allocations: 0 / 471.5 MB, free: 7.297 MB / 350.1 MB Notification: Performance of matching and sorting (n=91): time 0.002629/0.2292, allocations: 1.202 MB / 472.7 MB, free: 6.043 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.872e-05/0.2293, allocations: 68.28 kB / 472.8 MB, free: 5.965 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001181/0.2305, allocations: 0.7934 MB / 473.6 MB, free: 5.164 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.135e-05/0.2306, allocations: 45.69 kB / 473.6 MB, free: 5.113 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003605/0.2309, allocations: 478.7 kB / 474.1 MB, free: 4.637 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000251/0.2312, allocations: 311.5 kB / 474.4 MB, free: 4.328 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003634/0.2316, allocations: 198.8 kB / 474.6 MB, free: 4.125 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002579/0.2318, allocations: 398.7 kB / 475 MB, free: 3.727 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006276/0.2325, allocations: 342.5 kB / 475.3 MB, free: 3.395 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008937/0.2334, allocations: 0.6062 MB / 475.9 MB, free: 2.676 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001486/0.2349, allocations: 0.971 MB / 476.9 MB, free: 1.594 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/0.2349, allocations: 4 kB / 476.9 MB, free: 1.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002138/0.237, allocations: 1.174 MB / 478.1 MB, free: 412 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.005e-05/0.2371, allocations: 8 kB / 478.1 MB, free: 404 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.39e-05/0.2371, allocations: 8 kB / 478.1 MB, free: 396 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003575/0.2375, allocations: 70.08 kB / 478.1 MB, free: 320 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001032/0.2385, allocations: 263.6 kB / 478.4 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002743/0.2413, allocations: 2.828 MB / 481.2 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008951/0.2422, allocations: 162.4 kB / 481.4 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.05e-05/0.2423, allocations: 47.98 kB / 481.4 MB, free: 12.74 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.0004297/0.2427, allocations: 257.4 kB / 481.7 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001498/0.2429, allocations: 90.95 kB / 481.8 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001948/0.2448, allocations: 1.103 MB / 482.9 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.918e-06/0.2449, allocations: 12 kB / 482.9 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.2449, allocations: 0 / 482.9 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.347e-05/0.2449, allocations: 11.92 kB / 482.9 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003894/0.2488, allocations: 2.722 MB / 485.6 MB, free: 8.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.091e-05/0.2488, allocations: 8 kB / 485.6 MB, free: 8.262 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000686/0.2495, allocations: 180.5 kB / 485.8 MB, free: 8.086 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002013/0.2497, allocations: 65.61 kB / 485.9 MB, free: 8.016 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.402e-05/0.2498, allocations: 28 kB / 485.9 MB, free: 7.988 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002379/0.2522, allocations: 2.82 MB / 488.7 MB, free: 4.895 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.595e-06/0.2522, allocations: 8 kB / 488.7 MB, free: 4.887 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002255/0.2545, allocations: 1.48 MB / 490.2 MB, free: 3.309 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002495/0.2547, allocations: 199.8 kB / 490.4 MB, free: 3.094 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001261/0.2549, allocations: 31.88 kB / 490.4 MB, free: 3.062 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006234/0.2555, allocations: 56.03 kB / 490.5 MB, free: 3.008 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001475/0.2556, allocations: 80.39 kB / 490.6 MB, free: 2.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.653e-05/0.2557, allocations: 35.98 kB / 490.6 MB, free: 2.895 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006997/0.2564, allocations: 0.5615 MB / 491.2 MB, free: 2.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2564, allocations: 0 / 491.2 MB, free: 2.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009602/0.2574, allocations: 295.4 kB / 491.4 MB, free: 2.051 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.0003271/0.2577, allocations: 163 kB / 491.6 MB, free: 1.879 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002296/0.26, allocations: 1.137 MB / 492.7 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.26, allocations: 0 / 492.7 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009334/0.261, allocations: 0.6119 MB / 493.4 MB, free: 76 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008225/0.2618, allocations: 132.2 kB / 493.5 MB, free: 15.94 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003501/0.2653, allocations: 1.834 MB / 495.3 MB, free: 14.01 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007719/0.2661, allocations: 1.008 MB / 496.3 MB, free: 12.97 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006632/0.2668, allocations: 147.6 kB / 496.5 MB, free: 12.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000234/0.267, allocations: 83.42 kB / 496.5 MB, free: 12.74 MB / 382.1 MB Notification: Performance of SimCode: time 2.004e-06/0.267, allocations: 0 / 496.5 MB, free: 12.74 MB / 382.1 MB Notification: Performance of Templates: time 0.02151/0.2886, allocations: 10.5 MB / 0.4952 GB, free: 2.285 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins/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