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.001073/0.001073, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001485/0.002558, allocations: 449.8 kB / 10.44 MB, free: 252 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.001089/0.001089, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001541/0.00263, allocations: 479.5 kB / 11.82 MB, free: 2.344 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 1.094/1.094, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09489/1.189, allocations: 53.66 MB / 243.4 MB, free: 15.51 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.2767/0.2767, allocations: 34.25 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02455/0.3012, allocations: 13.1 MB / 291.5 MB, free: 7.352 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.342e-06/1.342e-06, allocations: 0 / 292.8 MB, free: 6.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.002e-05/2.136e-05, allocations: 4.734 kB / 292.8 MB, free: 6.227 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.005623/0.005644, allocations: 7.209 MB / 300 MB, free: 14.98 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004541/0.01019, allocations: 2.388 MB / 302.4 MB, free: 12.59 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007984/0.01098, allocations: 27.94 kB / 302.5 MB, free: 12.56 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002086/0.01307, allocations: 1.854 MB / 304.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001635/0.0147, allocations: 0.6987 MB / 305 MB, free: 9.992 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001056/0.01576, allocations: 0.7216 MB / 305.7 MB, free: 9.27 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001233/0.01699, allocations: 1.284 MB / 307 MB, free: 7.98 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001/0.01799, allocations: 0.8402 MB / 307.9 MB, free: 7.105 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008766/0.01887, allocations: 0.7865 MB / 308.6 MB, free: 6.32 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005511/0.01942, allocations: 0.5219 MB / 309.2 MB, free: 5.797 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001506/0.01957, allocations: 108 kB / 309.3 MB, free: 5.691 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006636/0.02024, allocations: 295.6 kB / 309.6 MB, free: 5.402 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001231/0.02036, allocations: 195.3 kB / 309.7 MB, free: 5.211 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002933/0.02065, allocations: 347.2 kB / 310.1 MB, free: 4.871 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001065/0.02172, allocations: 1.015 MB / 311.1 MB, free: 3.852 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.531e-05/0.02173, allocations: 0 / 311.1 MB, free: 3.852 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.02173, allocations: 0 / 311.1 MB, free: 3.852 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.636e-05/0.02176, allocations: 0 / 311.1 MB, free: 3.852 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.002887/0.02465, allocations: 2.144 MB / 313.2 MB, free: 1.66 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.02469, allocations: 8.031 kB / 313.3 MB, free: 1.652 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004815/0.0295, allocations: 1.768 MB / 315 MB, free: 15.88 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007968/0.0303, allocations: 339.6 kB / 315.4 MB, free: 15.52 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001233/0.03042, allocations: 99.03 kB / 315.4 MB, free: 15.42 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001567/0.03058, allocations: 136.3 kB / 315.6 MB, free: 15.29 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009815/0.03156, allocations: 0.9966 MB / 316.6 MB, free: 14.22 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.033e-05/0.03159, allocations: 7.938 kB / 316.6 MB, free: 14.21 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.701e-05/0.03166, allocations: 56 kB / 316.6 MB, free: 14.16 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.705e-05/0.03168, allocations: 32 kB / 316.7 MB, free: 14.12 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006429/0.03232, allocations: 0.5944 MB / 317.3 MB, free: 13.52 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003953/0.03627, allocations: 2.985 MB / 320.3 MB, free: 10.45 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000729/0.037, allocations: 0.5975 MB / 320.9 MB, free: 9.836 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001514/0.03715, allocations: 149.8 kB / 321 MB, free: 9.691 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.211e-05/0.03722, allocations: 40.95 kB / 321 MB, free: 9.652 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.03725, allocations: 47.55 kB / 321.1 MB, free: 9.598 MB / 314.7 MB Notification: Performance of pre-optimization done (n=90): time 3.557e-06/0.03726, allocations: 0 / 321.1 MB, free: 9.598 MB / 314.7 MB Notification: Performance of matching and sorting (n=90): time 0.0007236/0.03798, allocations: 492 kB / 321.6 MB, free: 9.105 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.069e-05/0.03801, allocations: 64.41 kB / 321.6 MB, free: 9.027 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002678/0.03828, allocations: 426.8 kB / 322 MB, free: 8.602 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.724e-05/0.03832, allocations: 41.7 kB / 322.1 MB, free: 8.555 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002814/0.0386, allocations: 0.5274 MB / 322.6 MB, free: 8.02 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001517/0.03875, allocations: 317.2 kB / 322.9 MB, free: 7.707 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001688/0.03892, allocations: 194.8 kB / 323.1 MB, free: 7.512 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.453e-05/0.03901, allocations: 378.6 kB / 323.5 MB, free: 7.133 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/0.03915, allocations: 114.5 kB / 323.6 MB, free: 7.02 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002567/0.03941, allocations: 397.6 kB / 324 MB, free: 6.516 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005316/0.03994, allocations: 0.6347 MB / 324.6 MB, free: 5.773 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/0.03995, allocations: 7.938 kB / 324.6 MB, free: 5.766 MB / 314.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.0006367/0.04059, allocations: 0.6219 MB / 325.2 MB, free: 5.129 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.04061, allocations: 8 kB / 325.3 MB, free: 5.121 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.04062, allocations: 8 kB / 325.3 MB, free: 5.113 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002263/0.04084, allocations: 74.03 kB / 325.3 MB, free: 5.035 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005702/0.04141, allocations: 307.5 kB / 325.6 MB, free: 4.734 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001411/0.04283, allocations: 2.364 MB / 328 MB, free: 2.199 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004968/0.04332, allocations: 115.2 kB / 328.1 MB, free: 2.086 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-05/0.04338, allocations: 36.17 kB / 328.1 MB, free: 2.051 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.0002083/0.04359, allocations: 185.4 kB / 328.3 MB, free: 1.859 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.04369, allocations: 67.94 kB / 328.4 MB, free: 1.793 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008707/0.04456, allocations: 0.6878 MB / 329.1 MB, free: 1.074 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/0.04457, allocations: 12 kB / 329.1 MB, free: 1.062 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.04457, allocations: 3.938 kB / 329.1 MB, free: 1.059 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/0.04458, allocations: 7.922 kB / 329.1 MB, free: 1.051 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001757/0.04634, allocations: 1.245 MB / 330.3 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.04634, allocations: 7.938 kB / 330.4 MB, free: 15.69 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005558/0.0469, allocations: 216.5 kB / 330.6 MB, free: 15.48 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.454e-05/0.04698, allocations: 71.38 kB / 330.6 MB, free: 15.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001996/0.04718, allocations: 81.58 kB / 330.7 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.466e-05/0.04723, allocations: 23.98 kB / 330.7 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001226/0.04845, allocations: 2.357 MB / 333.1 MB, free: 12.77 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.376e-06/0.04846, allocations: 11.94 kB / 333.1 MB, free: 12.76 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008719/0.04933, allocations: 0.7925 MB / 333.9 MB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.584e-05/0.04941, allocations: 27.95 kB / 333.9 MB, free: 11.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003517/0.04976, allocations: 52.06 kB / 334 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/0.04987, allocations: 80.41 kB / 334.1 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.115e-05/0.04991, allocations: 27.98 kB / 334.1 MB, free: 11.68 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001746/0.05009, allocations: 176.7 kB / 334.3 MB, free: 11.51 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.05009, allocations: 0 / 334.3 MB, free: 11.51 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008349/0.05092, allocations: 347.1 kB / 334.6 MB, free: 11.17 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.0002455/0.05117, allocations: 160.1 kB / 334.8 MB, free: 11 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00086/0.05203, allocations: 0.7392 MB / 335.5 MB, free: 10.24 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-05/0.05206, allocations: 15.12 kB / 335.5 MB, free: 10.23 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000573/0.05263, allocations: 0.5259 MB / 336 MB, free: 9.676 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008446/0.05348, allocations: 0.6165 MB / 336.7 MB, free: 8.965 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01116/0.06464, allocations: 1.859 MB / 338.5 MB, free: 6.996 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001703/0.06481, allocations: 193.1 kB / 338.7 MB, free: 6.781 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004296/0.06524, allocations: 121.9 kB / 338.8 MB, free: 6.66 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003275/0.06557, allocations: 183.3 kB / 339 MB, free: 6.48 MB / 330.7 MB Notification: Performance of SimCode: time 1.252e-06/0.06557, allocations: 0 / 339 MB, free: 6.48 MB / 330.7 MB Notification: Performance of Templates: time 0.01671/0.08228, allocations: 9.973 MB / 349 MB, free: 12.63 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.225250607356429]