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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001722/0.001722, allocations: 108.3 kB / 19.7 MB, free: 1.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002061/0.002061, allocations: 212.9 kB / 22.98 MB, free: 4.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.727/1.727, allocations: 207.7 MB / 233.8 MB, free: 9.789 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2504/0.2504, allocations: 44.27 MB / 330.3 MB, free: 9.293 MB / 270.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002334/0.002334, allocations: 79.83 kB / 468 MB, free: 3.812 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1594, allocations: 61.04 MB / 0.5166 GB, free: 6.648 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.01003/0.1694, allocations: 6.098 MB / 0.5226 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005903/0.1753, allocations: 2.093 MB / 0.5246 GB, free: 14.42 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008778/0.1762, allocations: 23.94 kB / 0.5247 GB, free: 14.39 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003859/0.1801, allocations: 1.423 MB / 0.5261 GB, free: 12.96 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002718/0.1828, allocations: 0.6915 MB / 0.5267 GB, free: 12.27 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002242/0.185, allocations: 0.6776 MB / 0.5274 GB, free: 11.59 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002802/0.1878, allocations: 1.186 MB / 0.5286 GB, free: 10.4 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001749/0.1896, allocations: 0.7569 MB / 0.5293 GB, free: 9.613 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009067/0.1905, allocations: 494.1 kB / 0.5298 GB, free: 9.129 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007861/0.1913, allocations: 0.5559 MB / 0.5303 GB, free: 8.57 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001478/0.1914, allocations: 96 kB / 0.5304 GB, free: 8.477 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009121/0.1923, allocations: 279.8 kB / 0.5307 GB, free: 8.203 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002591/0.1926, allocations: 251 kB / 0.5309 GB, free: 7.957 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005516/0.1931, allocations: 477.6 kB / 0.5314 GB, free: 7.488 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002066/0.1952, allocations: 1.486 MB / 0.5328 GB, free: 5.996 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.1952, allocations: 0 / 0.5328 GB, free: 5.996 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.1952, allocations: 0 / 0.5328 GB, free: 5.996 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.573e-05/0.1952, allocations: 0 / 0.5328 GB, free: 5.996 MB / 414.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.004447/0.1997, allocations: 1.667 MB / 0.5344 GB, free: 4.293 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/0.1997, allocations: 8.031 kB / 0.5344 GB, free: 4.285 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01006/0.2098, allocations: 1.428 MB / 0.5358 GB, free: 2.855 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00169/0.2115, allocations: 0.4916 MB / 0.5363 GB, free: 2.34 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.986e-05/0.2116, allocations: 94.48 kB / 0.5364 GB, free: 2.246 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002293/0.2118, allocations: 120 kB / 0.5365 GB, free: 2.129 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002505/0.2143, allocations: 1.357 MB / 0.5379 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.852e-05/0.2144, allocations: 11.95 kB / 0.5379 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001243/0.2145, allocations: 56 kB / 0.5379 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.988e-05/0.2145, allocations: 28 kB / 0.5379 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3528/0.5673, allocations: 1.412 MB / 0.5393 GB, free: 28.19 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007955/0.5753, allocations: 3.328 MB / 0.5426 GB, free: 27.25 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001862/0.5771, allocations: 0.828 MB / 0.5434 GB, free: 26.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005854/0.5777, allocations: 333.2 kB / 0.5437 GB, free: 26.8 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.461e-05/0.5778, allocations: 19.91 kB / 0.5437 GB, free: 26.8 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.5778, allocations: 47.06 kB / 0.5438 GB, free: 26.75 MB / 414.1 MB Notification: Performance of pre-optimization done (n=91): time 3.327e-06/0.5778, allocations: 4.031 kB / 0.5438 GB, free: 26.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=91): time 0.002348/0.5802, allocations: 1.021 MB / 0.5448 GB, free: 26.32 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.5802, allocations: 64.83 kB / 0.5448 GB, free: 26.25 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006986/0.5809, allocations: 0.5003 MB / 0.5453 GB, free: 26 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.226e-05/0.581, allocations: 41.86 kB / 0.5454 GB, free: 25.96 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003191/0.5813, allocations: 0.5164 MB / 0.5459 GB, free: 25.62 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002441/0.5815, allocations: 329.1 kB / 0.5462 GB, free: 25.38 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003197/0.5819, allocations: 198.4 kB / 0.5464 GB, free: 25.29 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.582, allocations: 368.6 kB / 0.5467 GB, free: 24.95 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006924/0.5827, allocations: 343.6 kB / 0.547 GB, free: 24.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000896/0.5836, allocations: 0.6048 MB / 0.5476 GB, free: 24.36 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001416/0.585, allocations: 0.9727 MB / 0.5486 GB, free: 23.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.496e-06/0.585, allocations: 2.875 kB / 0.5486 GB, free: 23.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.0022/0.5872, allocations: 1.151 MB / 0.5497 GB, free: 23.2 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.057e-05/0.5872, allocations: 10.45 kB / 0.5497 GB, free: 23.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-05/0.5873, allocations: 10.41 kB / 0.5497 GB, free: 23.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003167/0.5876, allocations: 64.55 kB / 0.5498 GB, free: 23.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/0.5886, allocations: 261.9 kB / 0.55 GB, free: 23.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00179/0.5904, allocations: 2.581 MB / 0.5526 GB, free: 20.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008928/0.5913, allocations: 117.3 kB / 0.5527 GB, free: 20.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-05/0.5914, allocations: 53.58 kB / 0.5527 GB, free: 20.53 MB / 414.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.0004743/0.5919, allocations: 255 kB / 0.553 GB, free: 20.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001257/0.592, allocations: 67.58 kB / 0.553 GB, free: 20.29 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001847/0.5939, allocations: 1.084 MB / 0.5541 GB, free: 19.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.201e-05/0.5939, allocations: 9.969 kB / 0.5541 GB, free: 19.77 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.5939, allocations: 8.188 kB / 0.5541 GB, free: 19.77 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.5939, allocations: 5.156 kB / 0.5541 GB, free: 19.77 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003626/0.5975, allocations: 2.044 MB / 0.5561 GB, free: 18.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-05/0.5975, allocations: 5.875 kB / 0.5561 GB, free: 18.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007697/0.5983, allocations: 180.7 kB / 0.5563 GB, free: 18.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002373/0.5985, allocations: 66.86 kB / 0.5563 GB, free: 18.56 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-05/0.5986, allocations: 26.41 kB / 0.5564 GB, free: 18.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001498/0.6001, allocations: 2.567 MB / 0.5589 GB, free: 16.02 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.216e-06/0.6001, allocations: 6.719 kB / 0.5589 GB, free: 16.02 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002358/0.6025, allocations: 1.456 MB / 0.5603 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002353/0.6027, allocations: 92.08 kB / 0.5604 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001269/0.6028, allocations: 27.55 kB / 0.5604 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007192/0.6035, allocations: 62.22 kB / 0.5605 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002019/0.6037, allocations: 85.52 kB / 0.5606 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.827e-05/0.6038, allocations: 36.61 kB / 0.5606 GB, free: 15.01 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005039/0.6043, allocations: 348.5 kB / 0.5609 GB, free: 14.84 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.6043, allocations: 0 / 0.5609 GB, free: 14.84 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001376/0.6057, allocations: 326 kB / 0.5612 GB, free: 14.76 MB / 414.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.0002961/0.606, allocations: 173.8 kB / 0.5614 GB, free: 14.63 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002549/0.6085, allocations: 1.043 MB / 0.5624 GB, free: 14.11 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.222e-05/0.6085, allocations: 2.938 kB / 0.5624 GB, free: 14.11 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001132/0.6097, allocations: 0.5933 MB / 0.563 GB, free: 13.75 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008429/0.6105, allocations: 90.52 kB / 0.5631 GB, free: 13.71 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004147/0.6147, allocations: 1.832 MB / 0.5649 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005313/0.6152, allocations: 410.5 kB / 0.5653 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0006/0.6158, allocations: 125.7 kB / 0.5654 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002232/0.616, allocations: 69.38 kB / 0.5655 GB, free: 12.43 MB / 414.1 MB Notification: Performance of SimCode: time 1.383e-06/0.616, allocations: 0 / 0.5655 GB, free: 12.43 MB / 414.1 MB Notification: Performance of Templates: time 0.02157/0.6376, allocations: 9.714 MB / 0.5749 GB, free: 9.57 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.282658860087395]