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.001113/0.001113, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001473/0.002586, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007127/0.0007127, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008239/0.001537, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9333/0.9333, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1285/1.062, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.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.282/0.282, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02906/0.311, allocations: 13.1 MB / 291.3 MB, free: 7.375 MB / 282.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.993e-06/1.993e-06, allocations: 0 / 292.6 MB, free: 6.328 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.383e-05/2.583e-05, allocations: 4.562 kB / 292.6 MB, free: 6.324 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.007242/0.007268, allocations: 7.205 MB / 299.8 MB, free: 15.09 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004017/0.01128, allocations: 2.388 MB / 302.2 MB, free: 12.69 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007338/0.01202, allocations: 27.94 kB / 302.2 MB, free: 12.66 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002081/0.0141, allocations: 1.85 MB / 304.1 MB, free: 10.8 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001707/0.01581, allocations: 0.6987 MB / 304.8 MB, free: 10.1 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001056/0.01686, allocations: 0.7178 MB / 305.5 MB, free: 9.383 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001165/0.01803, allocations: 1.296 MB / 306.8 MB, free: 8.082 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001/0.01903, allocations: 0.8402 MB / 307.6 MB, free: 7.211 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008521/0.01988, allocations: 0.7864 MB / 308.4 MB, free: 6.422 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004629/0.02034, allocations: 0.5181 MB / 308.9 MB, free: 5.902 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001145/0.02046, allocations: 108 kB / 309 MB, free: 5.797 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006409/0.0211, allocations: 299.6 kB / 309.3 MB, free: 5.504 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001219/0.02122, allocations: 195.3 kB / 309.5 MB, free: 5.312 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002973/0.02152, allocations: 343.3 kB / 309.9 MB, free: 4.977 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001286/0.0228, allocations: 1.016 MB / 310.9 MB, free: 3.957 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.19e-05/0.02283, allocations: 0 / 310.9 MB, free: 3.957 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.285e-06/0.02283, allocations: 4 kB / 310.9 MB, free: 3.953 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.741e-05/0.02286, allocations: 0 / 310.9 MB, free: 3.953 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: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.003115/0.02598, allocations: 2.152 MB / 313 MB, free: 1.754 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/0.02603, allocations: 8.031 kB / 313 MB, free: 1.746 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004643/0.03068, allocations: 1.764 MB / 314.8 MB, free: 15.97 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005981/0.03127, allocations: 343.5 kB / 315.1 MB, free: 15.61 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.34e-05/0.03133, allocations: 107 kB / 315.3 MB, free: 15.51 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/0.03145, allocations: 136.3 kB / 315.4 MB, free: 15.38 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009326/0.03239, allocations: 0.9965 MB / 316.4 MB, free: 14.31 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.939e-05/0.03242, allocations: 3.938 kB / 316.4 MB, free: 14.3 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.504e-05/0.03248, allocations: 56 kB / 316.4 MB, free: 14.25 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.941e-05/0.0325, allocations: 32 kB / 316.5 MB, free: 14.22 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006292/0.03313, allocations: 0.5945 MB / 317.1 MB, free: 13.61 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003663/0.03679, allocations: 2.981 MB / 320 MB, free: 10.54 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007619/0.03755, allocations: 0.5975 MB / 320.6 MB, free: 9.934 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001603/0.03771, allocations: 152.2 kB / 320.8 MB, free: 9.785 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.828e-05/0.03779, allocations: 36.97 kB / 320.8 MB, free: 9.75 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/0.03782, allocations: 43.56 kB / 320.9 MB, free: 9.699 MB / 314.7 MB Notification: Performance of pre-optimization done (n=90): time 3.737e-06/0.03783, allocations: 0 / 320.9 MB, free: 9.699 MB / 314.7 MB Notification: Performance of matching and sorting (n=90): time 0.0007254/0.03855, allocations: 496 kB / 321.4 MB, free: 9.203 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/0.03859, allocations: 64.34 kB / 321.4 MB, free: 9.125 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002577/0.03884, allocations: 430.8 kB / 321.8 MB, free: 8.695 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.34e-05/0.03888, allocations: 41.7 kB / 321.9 MB, free: 8.648 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001943/0.03907, allocations: 0.5235 MB / 322.4 MB, free: 8.113 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000148/0.03922, allocations: 313.2 kB / 322.7 MB, free: 7.805 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001725/0.03939, allocations: 202.8 kB / 322.9 MB, free: 7.602 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.03949, allocations: 374.6 kB / 323.3 MB, free: 7.227 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001735/0.03967, allocations: 110.6 kB / 323.4 MB, free: 7.117 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002598/0.03993, allocations: 397.6 kB / 323.8 MB, free: 6.613 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004668/0.04039, allocations: 0.6083 MB / 324.4 MB, free: 5.898 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.678e-06/0.0404, allocations: 7.938 kB / 324.4 MB, free: 5.891 MB / 314.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.000629/0.04103, allocations: 0.61 MB / 325 MB, free: 5.266 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/0.04106, allocations: 15.98 kB / 325 MB, free: 5.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/0.04107, allocations: 8 kB / 325 MB, free: 5.242 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002104/0.04128, allocations: 78.3 kB / 325.1 MB, free: 5.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005585/0.04184, allocations: 303.6 kB / 325.4 MB, free: 4.863 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001142/0.04298, allocations: 2.364 MB / 327.8 MB, free: 2.324 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003577/0.04334, allocations: 115.4 kB / 327.9 MB, free: 2.211 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.138e-05/0.04338, allocations: 39.98 kB / 327.9 MB, free: 2.172 MB / 314.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.0001899/0.04357, allocations: 181.5 kB / 328.1 MB, free: 1.984 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.182e-05/0.04365, allocations: 71.94 kB / 328.2 MB, free: 1.914 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006801/0.04433, allocations: 0.6878 MB / 328.8 MB, free: 1.199 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.04433, allocations: 8 kB / 328.9 MB, free: 1.191 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.04434, allocations: 0 / 328.9 MB, free: 1.191 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.405e-06/0.04435, allocations: 11.91 kB / 328.9 MB, free: 1.18 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001336/0.04568, allocations: 1.241 MB / 330.1 MB, free: 15.83 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.032e-06/0.04569, allocations: 8.094 kB / 330.1 MB, free: 15.82 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003877/0.04608, allocations: 211.7 kB / 330.3 MB, free: 15.61 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.188e-05/0.04614, allocations: 83.34 kB / 330.4 MB, free: 15.53 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001425/0.04628, allocations: 69.66 kB / 330.5 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.005e-05/0.04631, allocations: 27.98 kB / 330.5 MB, free: 15.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00101/0.04732, allocations: 2.349 MB / 332.8 MB, free: 12.91 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/0.04732, allocations: 11.94 kB / 332.9 MB, free: 12.89 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006347/0.04796, allocations: 0.8044 MB / 333.7 MB, free: 11.99 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.981e-05/0.04802, allocations: 27.95 kB / 333.7 MB, free: 11.96 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002383/0.04826, allocations: 43.98 kB / 333.7 MB, free: 11.92 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.293e-05/0.04834, allocations: 96.27 kB / 333.8 MB, free: 11.83 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-05/0.04837, allocations: 20 kB / 333.8 MB, free: 11.81 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001274/0.04849, allocations: 180.7 kB / 334 MB, free: 11.63 MB / 330.7 MB Notification: Performance of sort global known variables: time 3e-08/0.04849, allocations: 4.031 kB / 334 MB, free: 11.62 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006579/0.04915, allocations: 343.1 kB / 334.4 MB, free: 11.29 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 (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.0002017/0.04935, allocations: 152.1 kB / 334.5 MB, free: 11.13 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009588/0.05031, allocations: 0.7257 MB / 335.2 MB, free: 10.38 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-05/0.05034, allocations: 23.11 kB / 335.3 MB, free: 10.36 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000332/0.05068, allocations: 472.2 kB / 335.7 MB, free: 9.875 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004027/0.05108, allocations: 175.2 kB / 335.9 MB, free: 9.703 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008593/0.05967, allocations: 1.863 MB / 337.8 MB, free: 7.723 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002062/0.05988, allocations: 197.8 kB / 337.9 MB, free: 7.512 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005359/0.06041, allocations: 121.9 kB / 338.1 MB, free: 7.391 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003469/0.06076, allocations: 187.3 kB / 338.2 MB, free: 7.207 MB / 330.7 MB Notification: Performance of SimCode: time 2.134e-06/0.06076, allocations: 0 / 338.2 MB, free: 7.207 MB / 330.7 MB Notification: Performance of Templates: time 0.01738/0.07814, allocations: 10.08 MB / 348.3 MB, free: 13.25 MB / 346.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 -ignoreHideResult -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.1940582217648625]