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.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.001509/0.001509, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001715/0.001715, allocations: 165 kB / 24.56 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9569/0.9569, allocations: 177.1 MB / 205 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2527/0.2527, allocations: 32.81 MB / 294.3 MB, free: 1.27 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.0.0_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_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 376 MB, free: 4.652 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.679e-05/2.843e-05, allocations: 5.406 kB / 376 MB, free: 4.648 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.01118/0.01121, allocations: 6.776 MB / 382.8 MB, free: 13.84 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004809/0.01602, allocations: 2.19 MB / 385 MB, free: 11.64 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00057/0.01659, allocations: 23.94 kB / 385 MB, free: 11.62 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002786/0.01938, allocations: 1.614 MB / 386.6 MB, free: 9.996 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002023/0.0214, allocations: 0.6873 MB / 387.3 MB, free: 9.305 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001369/0.02277, allocations: 0.7 MB / 388 MB, free: 8.605 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001382/0.02415, allocations: 1.194 MB / 389.2 MB, free: 7.402 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001163/0.02531, allocations: 0.7568 MB / 390 MB, free: 6.625 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009247/0.02624, allocations: 0.6898 MB / 390.7 MB, free: 5.934 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005981/0.02684, allocations: 474.6 kB / 391.1 MB, free: 5.469 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000149/0.02699, allocations: 96 kB / 391.2 MB, free: 5.375 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006299/0.02762, allocations: 271.6 kB / 391.5 MB, free: 5.109 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001931/0.02781, allocations: 266.9 kB / 391.7 MB, free: 4.848 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004062/0.02821, allocations: 390.9 kB / 392.1 MB, free: 4.465 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001337/0.02955, allocations: 1.008 MB / 393.1 MB, free: 3.453 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.02956, allocations: 4 kB / 393.1 MB, free: 3.449 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.02956, allocations: 0 / 393.1 MB, free: 3.449 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.44e-05/0.02957, allocations: 0 / 393.1 MB, free: 3.449 MB / 362.7 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.003266/0.03284, allocations: 1.748 MB / 394.9 MB, free: 1.66 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.03288, allocations: 8.031 kB / 394.9 MB, free: 1.652 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004668/0.03754, allocations: 1.565 MB / 396.5 MB, free: 88 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000676/0.03822, allocations: 498.3 kB / 396.9 MB, free: 15.57 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.947e-05/0.03828, allocations: 90.78 kB / 397 MB, free: 15.48 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001304/0.03841, allocations: 128.1 kB / 397.2 MB, free: 15.36 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001121/0.03953, allocations: 1.016 MB / 398.2 MB, free: 14.27 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.979e-05/0.03956, allocations: 7.953 kB / 398.2 MB, free: 14.26 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.173e-05/0.03963, allocations: 48 kB / 398.2 MB, free: 14.21 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.237e-05/0.03965, allocations: 28 kB / 398.3 MB, free: 14.18 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00105/0.0407, allocations: 0.8181 MB / 399.1 MB, free: 13.36 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003875/0.04458, allocations: 3.244 MB / 402.3 MB, free: 10.03 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009178/0.0455, allocations: 0.6605 MB / 403 MB, free: 9.355 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002798/0.04578, allocations: 198.6 kB / 403.2 MB, free: 9.16 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.985e-05/0.04585, allocations: 36.97 kB / 403.2 MB, free: 9.125 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/0.04588, allocations: 46.39 kB / 403.3 MB, free: 9.07 MB / 378.7 MB Notification: Performance of pre-optimization done (n=89): time 2.565e-06/0.04588, allocations: 0 / 403.3 MB, free: 9.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=89): time 0.001121/0.047, allocations: 0.6946 MB / 403.9 MB, free: 8.363 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.641e-05/0.04704, allocations: 60.41 kB / 404 MB, free: 8.293 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003652/0.0474, allocations: 0.4905 MB / 404.5 MB, free: 7.785 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.144e-05/0.04745, allocations: 41.7 kB / 404.5 MB, free: 7.738 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002179/0.04766, allocations: 0.5455 MB / 405.1 MB, free: 7.184 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001883/0.04785, allocations: 313.3 kB / 405.4 MB, free: 6.875 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002006/0.04805, allocations: 200.5 kB / 405.6 MB, free: 6.672 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001889/0.04824, allocations: 0.543 MB / 406.1 MB, free: 6.117 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002612/0.0485, allocations: 166.5 kB / 406.3 MB, free: 5.953 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004708/0.04897, allocations: 0.4926 MB / 406.8 MB, free: 5.336 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007069/0.04968, allocations: 0.7169 MB / 407.5 MB, free: 4.496 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.04969, allocations: 4 kB / 407.5 MB, free: 4.492 MB / 378.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.001178/0.05086, allocations: 0.8279 MB / 408.3 MB, free: 3.645 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.05089, allocations: 8 kB / 408.3 MB, free: 3.637 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.0509, allocations: 4 kB / 408.3 MB, free: 3.633 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002704/0.05117, allocations: 84.09 kB / 408.4 MB, free: 3.543 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005014/0.05167, allocations: 243.6 kB / 408.7 MB, free: 3.305 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002052/0.05372, allocations: 3.523 MB / 412.2 MB, free: 15.54 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003586/0.05408, allocations: 103.2 kB / 412.3 MB, free: 15.43 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.53e-05/0.05413, allocations: 43.98 kB / 412.3 MB, free: 15.39 MB / 394.7 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 (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.0001946/0.05432, allocations: 228.4 kB / 412.6 MB, free: 15.16 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.05442, allocations: 91.62 kB / 412.6 MB, free: 15.07 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009736/0.0554, allocations: 0.8655 MB / 413.5 MB, free: 14.16 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.0554, allocations: 11.98 kB / 413.5 MB, free: 14.15 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.05541, allocations: 0 / 413.5 MB, free: 14.15 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.05541, allocations: 7.922 kB / 413.5 MB, free: 14.14 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001836/0.05725, allocations: 1.763 MB / 415.3 MB, free: 12.22 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/0.05726, allocations: 4 kB / 415.3 MB, free: 12.22 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003595/0.05762, allocations: 176.6 kB / 415.5 MB, free: 12.05 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001706/0.05779, allocations: 83.25 kB / 415.5 MB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.728e-05/0.05782, allocations: 27.98 kB / 415.6 MB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001378/0.0592, allocations: 3.5 MB / 419.1 MB, free: 8.184 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.035e-06/0.05921, allocations: 11.94 kB / 419.1 MB, free: 8.172 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00114/0.06035, allocations: 1.131 MB / 420.2 MB, free: 6.914 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.154e-05/0.06041, allocations: 83.36 kB / 420.3 MB, free: 6.832 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.079e-05/0.06047, allocations: 27.98 kB / 420.3 MB, free: 6.805 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002809/0.06075, allocations: 48.02 kB / 420.4 MB, free: 6.758 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.236e-05/0.06085, allocations: 84.34 kB / 420.5 MB, free: 6.676 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.888e-05/0.06089, allocations: 39.97 kB / 420.5 MB, free: 6.637 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002348/0.06112, allocations: 327 kB / 420.8 MB, free: 6.312 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.06112, allocations: 0 / 420.8 MB, free: 6.312 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005779/0.0617, allocations: 327.2 kB / 421.1 MB, free: 5.992 MB / 394.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 (92): * Single equations (assignments): 90 * 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.0002335/0.06193, allocations: 167 kB / 421.3 MB, free: 5.82 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000929/0.06286, allocations: 0.9146 MB / 422.2 MB, free: 4.871 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.06286, allocations: 4.562 kB / 422.2 MB, free: 4.867 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004466/0.06331, allocations: 0.6116 MB / 422.8 MB, free: 4.219 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004087/0.06372, allocations: 97.58 kB / 422.9 MB, free: 4.125 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001916/0.06564, allocations: 1.715 MB / 424.6 MB, free: 2.266 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001169/0.06575, allocations: 177.8 kB / 424.8 MB, free: 2.066 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000263/0.06602, allocations: 117.6 kB / 424.9 MB, free: 1.949 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001484/0.06616, allocations: 80.47 kB / 425 MB, free: 1.871 MB / 394.7 MB Notification: Performance of SimCode: time 5.61e-07/0.06616, allocations: 0 / 425 MB, free: 1.871 MB / 394.7 MB Notification: Performance of Templates: time 0.01148/0.07764, allocations: 9.543 MB / 434.5 MB, free: 8.441 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.54524756828323]