Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0009086/0.0009086, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001344/0.001344, allocations: 167.4 kB / 24.82 MB, free: 9.266 MB / 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 1.036/1.036, allocations: 177.1 MB / 205.3 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2967/0.2967, allocations: 34.27 MB / 296.1 MB, free: 0.7227 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 378.5 MB, free: 2.391 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.44e-05/2.595e-05, allocations: 2.312 kB / 378.5 MB, free: 2.387 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.007037/0.007063, allocations: 7.128 MB / 385.6 MB, free: 11.22 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006345/0.01341, allocations: 2.26 MB / 387.9 MB, free: 8.953 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002057/0.01546, allocations: 27.94 kB / 387.9 MB, free: 8.926 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003663/0.01913, allocations: 1.796 MB / 389.7 MB, free: 7.121 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003665/0.02279, allocations: 0.7105 MB / 390.4 MB, free: 6.406 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001927/0.02472, allocations: 0.7126 MB / 391.1 MB, free: 5.691 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002874/0.02759, allocations: 1.295 MB / 392.4 MB, free: 4.391 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002083/0.02968, allocations: 0.8478 MB / 393.3 MB, free: 3.52 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001018/0.0307, allocations: 0.7599 MB / 394 MB, free: 2.758 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005023/0.0312, allocations: 0.522 MB / 394.6 MB, free: 2.234 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001113/0.03131, allocations: 104 kB / 394.7 MB, free: 2.133 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000684/0.03199, allocations: 287.6 kB / 394.9 MB, free: 1.852 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001437/0.03214, allocations: 282.8 kB / 395.2 MB, free: 1.574 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003244/0.03246, allocations: 422.8 kB / 395.6 MB, free: 1.16 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00123/0.03369, allocations: 1.093 MB / 396.7 MB, free: 64 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.0337, allocations: 0 / 396.7 MB, free: 64 kB / 362.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.0337, allocations: 3.938 kB / 396.7 MB, free: 60 kB / 362.7 MB Notification: Performance of Transformations before backend: time 1.578e-05/0.03372, allocations: 0 / 396.7 MB, free: 60 kB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.002611/0.03633, allocations: 1.893 MB / 398.6 MB, free: 14.12 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.253e-05/0.03638, allocations: 20.02 kB / 398.6 MB, free: 14.1 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004831/0.04121, allocations: 1.58 MB / 400.2 MB, free: 12.52 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001113/0.04232, allocations: 0.5061 MB / 400.7 MB, free: 11.98 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.674e-05/0.04238, allocations: 99.03 kB / 400.8 MB, free: 11.89 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001434/0.04252, allocations: 140.3 kB / 401 MB, free: 11.75 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/0.04363, allocations: 0.9693 MB / 401.9 MB, free: 10.71 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.719e-05/0.04367, allocations: 7.891 kB / 401.9 MB, free: 10.7 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.822e-05/0.04375, allocations: 55.98 kB / 402 MB, free: 10.65 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.057e-05/0.04378, allocations: 35.94 kB / 402 MB, free: 10.61 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008749/0.04465, allocations: 0.7036 MB / 402.7 MB, free: 9.895 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004594/0.04925, allocations: 3.588 MB / 406.3 MB, free: 6.203 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008314/0.05008, allocations: 0.6379 MB / 407 MB, free: 5.562 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002022/0.05028, allocations: 173.4 kB / 407.1 MB, free: 5.391 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.557e-05/0.05036, allocations: 48.95 kB / 407.2 MB, free: 5.344 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.0504, allocations: 50.39 kB / 407.2 MB, free: 5.285 MB / 378.7 MB Notification: Performance of pre-optimization done (n=90): time 3.787e-06/0.0504, allocations: 0 / 407.2 MB, free: 5.285 MB / 378.7 MB Notification: Performance of matching and sorting (n=90): time 0.001249/0.05165, allocations: 0.6243 MB / 407.8 MB, free: 4.648 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.854e-05/0.05168, allocations: 60.41 kB / 407.9 MB, free: 4.578 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003351/0.05201, allocations: 0.502 MB / 408.4 MB, free: 4.059 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.876e-05/0.05205, allocations: 45.69 kB / 408.4 MB, free: 4.008 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002582/0.05231, allocations: 0.5882 MB / 409 MB, free: 3.41 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001662/0.05248, allocations: 325.2 kB / 409.4 MB, free: 3.09 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002006/0.05268, allocations: 224.4 kB / 409.6 MB, free: 2.863 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001788/0.05286, allocations: 0.5585 MB / 410.1 MB, free: 2.293 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001694/0.05303, allocations: 138.4 kB / 410.3 MB, free: 2.156 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003617/0.05339, allocations: 0.5217 MB / 410.8 MB, free: 1.48 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006081/0.054, allocations: 0.7301 MB / 411.5 MB, free: 0.5977 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/0.054, allocations: 4 kB / 411.5 MB, free: 0.5938 MB / 378.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.0009234/0.05493, allocations: 0.7896 MB / 412.3 MB, free: 15.79 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.05495, allocations: 8 kB / 412.3 MB, free: 15.78 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/0.05496, allocations: 8 kB / 412.3 MB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002237/0.05519, allocations: 87.36 kB / 412.4 MB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005087/0.05569, allocations: 255.6 kB / 412.7 MB, free: 15.43 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002029/0.05772, allocations: 3.473 MB / 416.1 MB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004437/0.05817, allocations: 115.4 kB / 416.2 MB, free: 11.62 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.397e-05/0.05821, allocations: 43.98 kB / 416.3 MB, free: 11.57 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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.0002597/0.05847, allocations: 224.2 kB / 416.5 MB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.05857, allocations: 91.58 kB / 416.6 MB, free: 11.25 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008575/0.05943, allocations: 0.8418 MB / 417.4 MB, free: 10.37 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.134e-06/0.05944, allocations: 8 kB / 417.4 MB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.05944, allocations: 3.938 kB / 417.5 MB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.05945, allocations: 3.984 kB / 417.5 MB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001795/0.06125, allocations: 1.639 MB / 419.1 MB, free: 8.566 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.06125, allocations: 12.16 kB / 419.1 MB, free: 8.555 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003623/0.06161, allocations: 179.7 kB / 419.3 MB, free: 8.379 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00017/0.06178, allocations: 75.31 kB / 419.4 MB, free: 8.297 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.563e-05/0.06182, allocations: 28 kB / 419.4 MB, free: 8.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001643/0.06346, allocations: 3.466 MB / 422.8 MB, free: 4.574 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/0.06347, allocations: 12 kB / 422.9 MB, free: 4.562 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009365/0.06441, allocations: 1.049 MB / 423.9 MB, free: 3.383 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.334e-05/0.0645, allocations: 87.41 kB / 424 MB, free: 3.297 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.152e-05/0.06456, allocations: 20 kB / 424 MB, free: 3.277 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002721/0.06483, allocations: 52.08 kB / 424.1 MB, free: 3.227 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.276e-05/0.06493, allocations: 92.27 kB / 424.2 MB, free: 3.133 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-05/0.06496, allocations: 24 kB / 424.2 MB, free: 3.109 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001795/0.06514, allocations: 315 kB / 424.5 MB, free: 2.805 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.06514, allocations: 0 / 424.5 MB, free: 2.805 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007802/0.06592, allocations: 351.1 kB / 424.8 MB, free: 2.461 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 (93): * Single equations (assignments): 91 * 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.0002308/0.06615, allocations: 174.8 kB / 425 MB, free: 2.281 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008387/0.06699, allocations: 0.8743 MB / 425.9 MB, free: 1.375 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.06699, allocations: 1.938 kB / 425.9 MB, free: 1.375 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004138/0.06741, allocations: 0.5956 MB / 426.5 MB, free: 0.7422 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004474/0.06785, allocations: 105.9 kB / 426.6 MB, free: 0.6406 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002453/0.07031, allocations: 1.782 MB / 428.4 MB, free: 14.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004332/0.07074, allocations: 193.9 kB / 428.5 MB, free: 14.5 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003354/0.07108, allocations: 113.9 kB / 428.7 MB, free: 14.39 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002987/0.07137, allocations: 226.1 kB / 428.9 MB, free: 14.16 MB / 410.7 MB Notification: Performance of SimCode: time 1.253e-06/0.07138, allocations: 0 / 428.9 MB, free: 14.16 MB / 410.7 MB Notification: Performance of Templates: time 0.0148/0.08617, allocations: 9.878 MB / 438.8 MB, free: 4.383 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & ./ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.7403510501608253]