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.00179/0.00179, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002059/0.002059, allocations: 219.7 kB / 23.73 MB, free: 4.16 MB / 14.72 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.601/1.601, allocations: 230.6 MB / 257.5 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] 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.2415/0.2415, allocations: 44.95 MB / 358.8 MB, free: 6.066 MB / 286.1 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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.002204/0.002204, allocations: 71.89 kB / 0.4935 GB, free: 10.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3748/0.377, allocations: 65.48 MB / 0.5575 GB, free: 7.457 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.008436/0.3855, allocations: 6.117 MB / 0.5634 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005031/0.3905, allocations: 2.139 MB / 0.5655 GB, free: 15.17 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009491/0.3914, allocations: 23.94 kB / 0.5656 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004093/0.3955, allocations: 1.407 MB / 0.5669 GB, free: 13.73 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002486/0.398, allocations: 0.6871 MB / 0.5676 GB, free: 13.05 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002112/0.4001, allocations: 0.6752 MB / 0.5683 GB, free: 12.38 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002337/0.4025, allocations: 1.155 MB / 0.5694 GB, free: 11.21 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001818/0.4043, allocations: 0.7491 MB / 0.5701 GB, free: 10.44 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00124/0.4055, allocations: 486.1 kB / 0.5706 GB, free: 9.961 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001161/0.4067, allocations: 0.5365 MB / 0.5711 GB, free: 9.422 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002993/0.407, allocations: 92 kB / 0.5712 GB, free: 9.332 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001017/0.408, allocations: 279.8 kB / 0.5715 GB, free: 9.059 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00033/0.4083, allocations: 255 kB / 0.5717 GB, free: 8.809 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000845/0.4092, allocations: 461.8 kB / 0.5721 GB, free: 8.355 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002812/0.412, allocations: 1.473 MB / 0.5736 GB, free: 6.879 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.412, allocations: 3.938 kB / 0.5736 GB, free: 6.875 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.412, allocations: 0 / 0.5736 GB, free: 6.875 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.963e-05/0.412, allocations: 0 / 0.5736 GB, free: 6.875 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: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.004923/0.417, allocations: 1.636 MB / 0.5752 GB, free: 5.203 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.417, allocations: 12.03 kB / 0.5752 GB, free: 5.191 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009982/0.427, allocations: 1.253 MB / 0.5764 GB, free: 3.938 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001641/0.4286, allocations: 500 kB / 0.5769 GB, free: 3.422 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001232/0.4288, allocations: 90.41 kB / 0.577 GB, free: 3.332 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004694/0.4292, allocations: 119.9 kB / 0.5771 GB, free: 3.215 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003216/0.4324, allocations: 1.328 MB / 0.5784 GB, free: 1.816 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.184e-05/0.4325, allocations: 0 / 0.5784 GB, free: 1.816 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001442/0.4326, allocations: 52 kB / 0.5784 GB, free: 1.766 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-05/0.4327, allocations: 28 kB / 0.5785 GB, free: 1.738 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002889/0.4356, allocations: 1.364 MB / 0.5798 GB, free: 376 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008687/0.4443, allocations: 3.329 MB / 0.5831 GB, free: 12.96 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001941/0.4462, allocations: 0.7941 MB / 0.5838 GB, free: 12.16 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006592/0.4469, allocations: 334.1 kB / 0.5841 GB, free: 11.83 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001122/0.447, allocations: 32.97 kB / 0.5842 GB, free: 11.8 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.318e-05/0.447, allocations: 43.56 kB / 0.5842 GB, free: 11.75 MB / 430.1 MB Notification: Performance of pre-optimization done (n=89): time 2.905e-06/0.447, allocations: 4 kB / 0.5842 GB, free: 11.74 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.002499/0.4495, allocations: 1.025 MB / 0.5852 GB, free: 10.71 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.937e-05/0.4496, allocations: 60.41 kB / 0.5853 GB, free: 10.64 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007129/0.4503, allocations: 493.3 kB / 0.5858 GB, free: 10.15 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.838e-05/0.4503, allocations: 41.7 kB / 0.5858 GB, free: 10.1 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004298/0.4508, allocations: 0.496 MB / 0.5863 GB, free: 9.598 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003082/0.4511, allocations: 317.3 kB / 0.5866 GB, free: 9.285 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003399/0.4514, allocations: 190.9 kB / 0.5868 GB, free: 9.09 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002195/0.4516, allocations: 366.8 kB / 0.5871 GB, free: 8.723 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007184/0.4524, allocations: 342.5 kB / 0.5874 GB, free: 8.391 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00097/0.4533, allocations: 0.5661 MB / 0.588 GB, free: 7.727 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001645/0.455, allocations: 0.9309 MB / 0.5889 GB, free: 6.707 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.034e-05/0.455, allocations: 4 kB / 0.5889 GB, free: 6.703 MB / 430.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002276/0.4573, allocations: 1.111 MB / 0.59 GB, free: 5.578 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.55e-05/0.4573, allocations: 8.844 kB / 0.59 GB, free: 5.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.98e-05/0.4573, allocations: 8 kB / 0.59 GB, free: 5.562 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003397/0.4576, allocations: 65.67 kB / 0.5901 GB, free: 5.492 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/0.4587, allocations: 251.6 kB / 0.5903 GB, free: 5.246 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002379/0.4611, allocations: 2.568 MB / 0.5928 GB, free: 2.477 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00077/0.4618, allocations: 107.2 kB / 0.5929 GB, free: 2.371 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.581e-05/0.4619, allocations: 55.92 kB / 0.593 GB, free: 2.316 MB / 430.1 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.0004154/0.4623, allocations: 245.5 kB / 0.5932 GB, free: 2.066 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001575/0.4625, allocations: 71.72 kB / 0.5933 GB, free: 1.996 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002031/0.4645, allocations: 1.077 MB / 0.5943 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/0.4645, allocations: 11.94 kB / 0.5943 GB, free: 0.875 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.4645, allocations: 0 / 0.5943 GB, free: 0.875 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.4645, allocations: 3.984 kB / 0.5943 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004092/0.4686, allocations: 2.064 MB / 0.5964 GB, free: 14.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-05/0.4686, allocations: 8 kB / 0.5964 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007844/0.4694, allocations: 180.5 kB / 0.5965 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002286/0.4697, allocations: 65.67 kB / 0.5966 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.008e-05/0.4697, allocations: 24 kB / 0.5966 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002399/0.4721, allocations: 2.568 MB / 0.5991 GB, free: 11.63 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.905e-06/0.4721, allocations: 11.94 kB / 0.5991 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002607/0.4747, allocations: 1.446 MB / 0.6006 GB, free: 10.08 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002014/0.4749, allocations: 79.42 kB / 0.6006 GB, free: 10 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000143/0.4751, allocations: 27.98 kB / 0.6007 GB, free: 9.977 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000656/0.4757, allocations: 51.92 kB / 0.6007 GB, free: 9.926 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001783/0.4759, allocations: 84.34 kB / 0.6008 GB, free: 9.844 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.337e-05/0.476, allocations: 35.98 kB / 0.6008 GB, free: 9.809 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004866/0.4765, allocations: 347.2 kB / 0.6011 GB, free: 9.469 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4765, allocations: 0 / 0.6011 GB, free: 9.469 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001197/0.4777, allocations: 323.2 kB / 0.6015 GB, free: 9.152 MB / 446.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 (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.0003285/0.478, allocations: 166.9 kB / 0.6016 GB, free: 8.977 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002513/0.4805, allocations: 1.031 MB / 0.6026 GB, free: 7.922 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/0.4805, allocations: 4 kB / 0.6026 GB, free: 7.918 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001256/0.4818, allocations: 0.5886 MB / 0.6032 GB, free: 7.301 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008981/0.4827, allocations: 89.56 kB / 0.6033 GB, free: 7.215 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004186/0.4869, allocations: 1.755 MB / 0.605 GB, free: 5.352 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007253/0.4876, allocations: 410.2 kB / 0.6054 GB, free: 4.918 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00058/0.4882, allocations: 121.6 kB / 0.6055 GB, free: 4.797 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002614/0.4884, allocations: 71.42 kB / 0.6056 GB, free: 4.727 MB / 446.1 MB Notification: Performance of SimCode: time 9.92e-07/0.4884, allocations: 0 / 0.6056 GB, free: 4.727 MB / 446.1 MB Notification: Performance of Templates: time 0.02259/0.511, allocations: 9.874 MB / 0.6152 GB, free: 10.97 MB / 462.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.8172061666846275]