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.001148/0.001148, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.001253/0.001253, allocations: 169 kB / 24.24 MB, free: 312 kB / 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.113/1.113, allocations: 158.6 MB / 186 MB, free: 2.918 MB / 170.7 MB " [Timeout remaining time 179] 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.1441/0.1441, allocations: 32.38 MB / 270.7 MB, free: 14.77 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.482e-06/1.482e-06, allocations: 0 / 347.7 MB, free: 9.785 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.534e-05/3.682e-05, allocations: 2.312 kB / 347.7 MB, free: 9.781 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.005939/0.005976, allocations: 6.708 MB / 354.4 MB, free: 3.047 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003558/0.009533, allocations: 2.136 MB / 356.5 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006718/0.01021, allocations: 27.94 kB / 356.5 MB, free: 0.875 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002023/0.01223, allocations: 1.606 MB / 358.1 MB, free: 15.26 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001849/0.01408, allocations: 0.6951 MB / 358.8 MB, free: 14.56 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001125/0.0152, allocations: 0.6931 MB / 359.5 MB, free: 13.87 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001393/0.0166, allocations: 1.229 MB / 360.8 MB, free: 12.63 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009635/0.01756, allocations: 0.7607 MB / 361.5 MB, free: 11.85 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007347/0.01829, allocations: 0.6937 MB / 362.2 MB, free: 11.15 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004586/0.01875, allocations: 490.5 kB / 362.7 MB, free: 10.67 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001235/0.01888, allocations: 96 kB / 362.8 MB, free: 10.58 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005815/0.01946, allocations: 275.6 kB / 363.1 MB, free: 10.31 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001318/0.01959, allocations: 262.9 kB / 363.3 MB, free: 10.05 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002938/0.01988, allocations: 406.9 kB / 363.7 MB, free: 9.652 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00107/0.02095, allocations: 1.012 MB / 364.7 MB, free: 8.637 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.02096, allocations: 0 / 364.7 MB, free: 8.637 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.02096, allocations: 0 / 364.7 MB, free: 8.637 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.661e-05/0.02098, allocations: 0 / 364.7 MB, free: 8.637 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.002622/0.0236, allocations: 1.772 MB / 366.5 MB, free: 6.824 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.02364, allocations: 8.031 kB / 366.5 MB, free: 6.816 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00602/0.02966, allocations: 1.771 MB / 368.3 MB, free: 5.043 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009464/0.03061, allocations: 0.4905 MB / 368.8 MB, free: 4.52 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.356e-05/0.03067, allocations: 102.4 kB / 368.9 MB, free: 4.418 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001784/0.03085, allocations: 120 kB / 369 MB, free: 4.301 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001446/0.03229, allocations: 1.041 MB / 370 MB, free: 3.188 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.399e-05/0.03233, allocations: 11.94 kB / 370 MB, free: 3.176 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.018e-05/0.03241, allocations: 48 kB / 370.1 MB, free: 3.125 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.272e-05/0.03243, allocations: 32 kB / 370.1 MB, free: 3.094 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001227/0.03366, allocations: 0.8576 MB / 371 MB, free: 2.227 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004792/0.03845, allocations: 3.264 MB / 374.2 MB, free: 14.88 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001132/0.03958, allocations: 0.7144 MB / 374.9 MB, free: 14.16 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003032/0.03989, allocations: 213.6 kB / 375.2 MB, free: 13.95 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.131e-05/0.03996, allocations: 24.98 kB / 375.2 MB, free: 13.93 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.529e-05/0.03999, allocations: 46.39 kB / 375.2 MB, free: 13.87 MB / 314.7 MB Notification: Performance of pre-optimization done (n=91): time 2.956e-06/0.04, allocations: 0 / 375.2 MB, free: 13.87 MB / 314.7 MB Notification: Performance of matching and sorting (n=91): time 0.001221/0.04122, allocations: 0.6946 MB / 375.9 MB, free: 13.17 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/0.04126, allocations: 60.41 kB / 376 MB, free: 13.1 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004504/0.04171, allocations: 0.5061 MB / 376.5 MB, free: 12.57 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.884e-05/0.04176, allocations: 41.7 kB / 376.5 MB, free: 12.53 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002943/0.04206, allocations: 0.5572 MB / 377.1 MB, free: 11.96 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002079/0.04226, allocations: 329.2 kB / 377.4 MB, free: 11.64 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000229/0.04249, allocations: 204.5 kB / 377.6 MB, free: 11.43 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001983/0.04269, allocations: 0.5469 MB / 378.1 MB, free: 10.87 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002966/0.04299, allocations: 170.5 kB / 378.3 MB, free: 10.7 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005061/0.04349, allocations: 0.5493 MB / 378.9 MB, free: 10 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008474/0.04434, allocations: 0.7814 MB / 379.6 MB, free: 9.07 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.04435, allocations: 0 / 379.6 MB, free: 9.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.001155/0.0455, allocations: 0.8672 MB / 380.5 MB, free: 8.188 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.764e-05/0.04553, allocations: 8 kB / 380.5 MB, free: 8.18 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/0.04555, allocations: 11.94 kB / 380.5 MB, free: 8.168 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003155/0.04586, allocations: 91.83 kB / 380.6 MB, free: 8.07 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000575/0.04644, allocations: 259.6 kB / 380.9 MB, free: 7.816 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001915/0.04835, allocations: 3.515 MB / 384.4 MB, free: 4.051 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00053/0.04888, allocations: 119.1 kB / 384.5 MB, free: 3.934 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.904e-05/0.04894, allocations: 44 kB / 384.5 MB, free: 3.891 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.0003507/0.04929, allocations: 232.4 kB / 384.8 MB, free: 3.652 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000125/0.04942, allocations: 91.62 kB / 384.9 MB, free: 3.562 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001129/0.05055, allocations: 0.8852 MB / 385.8 MB, free: 2.641 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.742e-06/0.05055, allocations: 8 kB / 385.8 MB, free: 2.633 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.05056, allocations: 0 / 385.8 MB, free: 2.633 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.05056, allocations: 3.984 kB / 385.8 MB, free: 2.629 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002323/0.05289, allocations: 1.74 MB / 387.5 MB, free: 0.7344 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.05289, allocations: 4 kB / 387.5 MB, free: 0.7305 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004048/0.0533, allocations: 187.7 kB / 387.7 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002199/0.05352, allocations: 79.25 kB / 387.8 MB, free: 472 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.025e-05/0.05357, allocations: 27.98 kB / 387.8 MB, free: 444 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001737/0.05531, allocations: 3.507 MB / 391.3 MB, free: 12.68 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.93e-06/0.05531, allocations: 15.97 kB / 391.3 MB, free: 12.66 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001334/0.05664, allocations: 1.127 MB / 392.4 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001618/0.05681, allocations: 91.36 kB / 392.5 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.479e-05/0.05689, allocations: 27.94 kB / 392.6 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003125/0.0572, allocations: 52.02 kB / 392.6 MB, free: 11.24 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001342/0.05734, allocations: 84.41 kB / 392.7 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-05/0.05738, allocations: 31.98 kB / 392.7 MB, free: 11.12 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003097/0.05769, allocations: 331 kB / 393 MB, free: 10.8 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05769, allocations: 0 / 393 MB, free: 10.8 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000951/0.05864, allocations: 335.2 kB / 393.4 MB, free: 10.47 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.0003363/0.05898, allocations: 159 kB / 393.5 MB, free: 10.3 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001313/0.06029, allocations: 0.9416 MB / 394.5 MB, free: 9.336 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.0603, allocations: 0 / 394.5 MB, free: 9.336 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005407/0.06084, allocations: 0.6078 MB / 395.1 MB, free: 8.688 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00051/0.06135, allocations: 114 kB / 395.2 MB, free: 8.578 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00289/0.06424, allocations: 1.793 MB / 397 MB, free: 6.641 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001485/0.06439, allocations: 178 kB / 397.2 MB, free: 6.445 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000361/0.06475, allocations: 125.9 kB / 397.3 MB, free: 6.32 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001983/0.06494, allocations: 68.48 kB / 397.3 MB, free: 6.25 MB / 330.7 MB Notification: Performance of SimCode: time 2.515e-06/0.06495, allocations: 3.938 kB / 397.4 MB, free: 6.246 MB / 330.7 MB Notification: Performance of Templates: time 0.01423/0.07918, allocations: 8.646 MB / 406 MB, free: 13.68 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) [Timeout 240] 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","",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.5367154120467603]