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.001974/0.001974, allocations: 88.23 kB / 20.21 MB, free: 4.219 MB / 18.57 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.002124/0.002124, allocations: 161.7 kB / 23.52 MB, free: 0.9102 MB / 18.57 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.47/1.47, allocations: 158.6 MB / 185.3 MB, free: 2.91 MB / 170.7 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.226/0.226, allocations: 32.37 MB / 270 MB, free: 14.78 MB / 266.7 MB " [Timeout remaining time 180] 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: Performance of FrontEnd - loaded program: time 1.522e-06/1.522e-06, allocations: 0 / 346.9 MB, free: 9.801 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.189e-05/2.341e-05, allocations: 2.312 kB / 346.9 MB, free: 9.797 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.004974/0.004998, allocations: 6.107 MB / 353 MB, free: 3.664 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003092/0.00809, allocations: 2.093 MB / 355.1 MB, free: 1.562 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003486/0.008439, allocations: 27.94 kB / 355.2 MB, free: 1.535 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002594/0.01103, allocations: 1.497 MB / 356.7 MB, free: 32 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001822/0.01286, allocations: 0.695 MB / 357.3 MB, free: 15.33 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001554/0.01441, allocations: 0.6869 MB / 358 MB, free: 14.64 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001553/0.01596, allocations: 1.221 MB / 359.3 MB, free: 13.42 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001261/0.01722, allocations: 0.7647 MB / 360 MB, free: 12.63 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009302/0.01815, allocations: 0.6898 MB / 360.7 MB, free: 11.94 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006297/0.01878, allocations: 486.5 kB / 361.2 MB, free: 11.46 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001423/0.01893, allocations: 96 kB / 361.3 MB, free: 11.37 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006106/0.01954, allocations: 287.6 kB / 361.6 MB, free: 11.09 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003427/0.01988, allocations: 254.9 kB / 361.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004762/0.02035, allocations: 398.9 kB / 362.2 MB, free: 10.45 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001896/0.02225, allocations: 1.495 MB / 363.7 MB, free: 8.945 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.02226, allocations: 0 / 363.7 MB, free: 8.945 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.02226, allocations: 0 / 363.7 MB, free: 8.945 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.43e-05/0.02228, allocations: 0 / 363.7 MB, free: 8.945 MB / 298.7 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.004442/0.02672, allocations: 1.644 MB / 365.3 MB, free: 7.266 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.02676, allocations: 12.03 kB / 365.4 MB, free: 7.254 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01002/0.03678, allocations: 1.736 MB / 367.1 MB, free: 5.516 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001601/0.03839, allocations: 0.4994 MB / 367.6 MB, free: 4.984 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001038/0.03849, allocations: 94.42 kB / 367.7 MB, free: 4.891 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002438/0.03873, allocations: 124 kB / 367.8 MB, free: 4.77 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002616/0.04135, allocations: 1.36 MB / 369.2 MB, free: 3.34 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.583e-05/0.04138, allocations: 3.953 kB / 369.2 MB, free: 3.336 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001276/0.04151, allocations: 52 kB / 369.2 MB, free: 3.285 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.09e-05/0.04154, allocations: 28 kB / 369.2 MB, free: 3.258 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002577/0.04412, allocations: 1.419 MB / 370.7 MB, free: 1.828 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007639/0.05176, allocations: 3.401 MB / 374.1 MB, free: 14.35 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001901/0.05366, allocations: 0.8272 MB / 374.9 MB, free: 13.52 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006288/0.05429, allocations: 331.7 kB / 375.2 MB, free: 13.19 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.207e-05/0.05438, allocations: 32.98 kB / 375.2 MB, free: 13.16 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.97e-05/0.05443, allocations: 47.55 kB / 375.3 MB, free: 13.1 MB / 314.7 MB Notification: Performance of pre-optimization done (n=91): time 2.374e-06/0.05443, allocations: 3.938 kB / 375.3 MB, free: 13.1 MB / 314.7 MB Notification: Performance of matching and sorting (n=91): time 0.002391/0.05682, allocations: 1.045 MB / 376.3 MB, free: 12.05 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.438e-05/0.05688, allocations: 68.41 kB / 376.4 MB, free: 11.97 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006811/0.05756, allocations: 0.5015 MB / 376.9 MB, free: 11.46 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.356e-05/0.05762, allocations: 37.7 kB / 376.9 MB, free: 11.42 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004325/0.05806, allocations: 0.5115 MB / 377.5 MB, free: 10.9 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003257/0.05838, allocations: 325.2 kB / 377.8 MB, free: 10.58 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003571/0.05874, allocations: 198.9 kB / 378 MB, free: 10.38 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002352/0.05897, allocations: 374.7 kB / 378.3 MB, free: 10 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006801/0.05965, allocations: 338.5 kB / 378.7 MB, free: 9.672 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009665/0.06062, allocations: 0.6061 MB / 379.3 MB, free: 8.957 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001957/0.06258, allocations: 0.9827 MB / 380.3 MB, free: 7.863 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.205e-06/0.06259, allocations: 4 kB / 380.3 MB, free: 7.859 MB / 314.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002389/0.06497, allocations: 1.194 MB / 381.5 MB, free: 6.652 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.956e-05/0.065, allocations: 8 kB / 381.5 MB, free: 6.645 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.038e-05/0.06502, allocations: 11.94 kB / 381.5 MB, free: 6.633 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004581/0.06548, allocations: 90.31 kB / 381.6 MB, free: 6.539 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00105/0.06653, allocations: 259.6 kB / 381.8 MB, free: 6.285 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002573/0.06911, allocations: 2.575 MB / 384.4 MB, free: 3.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008401/0.06995, allocations: 119.2 kB / 384.5 MB, free: 3.383 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.87e-05/0.07003, allocations: 48.27 kB / 384.6 MB, free: 3.336 MB / 314.7 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.0004748/0.07051, allocations: 257.4 kB / 384.8 MB, free: 3.074 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001985/0.07071, allocations: 95.58 kB / 384.9 MB, free: 2.98 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002089/0.0728, allocations: 1.085 MB / 386 MB, free: 1.867 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.418e-05/0.07281, allocations: 15.98 kB / 386 MB, free: 1.852 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.07282, allocations: 4 kB / 386 MB, free: 1.848 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-06/0.07282, allocations: 3.984 kB / 386 MB, free: 1.844 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004106/0.07693, allocations: 2.041 MB / 388 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.317e-06/0.07694, allocations: 4 kB / 388 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007646/0.0777, allocations: 179.7 kB / 388.2 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003578/0.07806, allocations: 90.06 kB / 388.3 MB, free: 15.41 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.171e-05/0.07812, allocations: 27.98 kB / 388.3 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002448/0.08057, allocations: 2.56 MB / 390.9 MB, free: 12.62 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.637e-06/0.08058, allocations: 11.94 kB / 390.9 MB, free: 12.61 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002586/0.08317, allocations: 1.478 MB / 392.4 MB, free: 11.03 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000199/0.08337, allocations: 91.34 kB / 392.5 MB, free: 10.94 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001151/0.08348, allocations: 27.94 kB / 392.5 MB, free: 10.91 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005982/0.08408, allocations: 51.97 kB / 392.6 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000167/0.08425, allocations: 84.47 kB / 392.6 MB, free: 10.78 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.861e-05/0.08431, allocations: 32 kB / 392.7 MB, free: 10.75 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004882/0.0848, allocations: 355.1 kB / 393 MB, free: 10.4 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0848, allocations: 0 / 393 MB, free: 10.4 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001038/0.08584, allocations: 327.2 kB / 393.3 MB, free: 10.08 MB / 330.7 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.0003012/0.08614, allocations: 163 kB / 393.5 MB, free: 9.91 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002249/0.08839, allocations: 1.058 MB / 394.6 MB, free: 8.836 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/0.0884, allocations: 4.312 kB / 394.6 MB, free: 8.832 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001015/0.08941, allocations: 0.592 MB / 395.2 MB, free: 8.215 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000702/0.09012, allocations: 113.8 kB / 395.3 MB, free: 8.102 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003597/0.09371, allocations: 1.792 MB / 397.1 MB, free: 6.199 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005134/0.09423, allocations: 406.4 kB / 397.5 MB, free: 5.77 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000556/0.09478, allocations: 125.9 kB / 397.6 MB, free: 5.645 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002337/0.09502, allocations: 68.48 kB / 397.6 MB, free: 5.574 MB / 330.7 MB Notification: Performance of SimCode: time 8.72e-07/0.09502, allocations: 4 kB / 397.6 MB, free: 5.57 MB / 330.7 MB Notification: Performance of Templates: time 0.01891/0.1139, allocations: 8.591 MB / 406.2 MB, free: 13.07 MB / 346.7 MB " [Timeout remaining time 660] 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: 5.303378519020043]