Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.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.001755/0.001755, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002275/0.002275, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 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.492/1.492, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|line1.v1|line1.v2|line1.i1|line1.i2|line2.v1|line2.v2|line2.i1|line2.i2|line3.v1|line3.v2|line3.i1|line3.i2",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines") translateModel(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|line1.v1|line1.v2|line1.i1|line1.i2|line2.v1|line2.v2|line2.i1|line2.i2|line3.v1|line3.v2|line3.i1|line3.i2",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 272.4 MB, free: 1.777 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.801e-05/3.002e-05, allocations: 2.312 kB / 272.4 MB, free: 1.773 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines): time 0.005306/0.005336, allocations: 3.285 MB / 275.7 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001974/0.00731, allocations: 0.8568 MB / 276.5 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002284/0.007538, allocations: 8 kB / 276.5 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002757/0.007814, allocations: 83.2 kB / 276.6 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004357/0.00825, allocations: 154.6 kB / 276.8 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005196/0.008769, allocations: 211.5 kB / 277 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007721/0.009542, allocations: 0.6384 MB / 277.6 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003164/0.009858, allocations: 153.4 kB / 277.7 MB, free: 12.36 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004743/0.01033, allocations: 375.2 kB / 278.1 MB, free: 12 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003535/0.01069, allocations: 211.3 kB / 278.3 MB, free: 11.79 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.898e-05/0.01078, allocations: 64 kB / 278.4 MB, free: 11.73 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.788e-05/0.01088, allocations: 56 kB / 278.4 MB, free: 11.67 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001298/0.01101, allocations: 127.5 kB / 278.6 MB, free: 11.55 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002449/0.01126, allocations: 199.5 kB / 278.8 MB, free: 11.35 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007761/0.01203, allocations: 0.6464 MB / 279.4 MB, free: 10.7 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.01204, allocations: 0 / 279.4 MB, free: 10.7 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.41e-07/0.01204, allocations: 0 / 279.4 MB, free: 10.7 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.675e-06/0.01205, allocations: 0 / 279.4 MB, free: 10.7 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001629/0.01367, allocations: 0.7796 MB / 280.2 MB, free: 9.887 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.01372, allocations: 12.03 kB / 280.2 MB, free: 9.875 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001861/0.0139, allocations: 92.61 kB / 280.3 MB, free: 9.785 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005694/0.01447, allocations: 288.4 kB / 280.6 MB, free: 9.477 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.223e-05/0.01452, allocations: 29.38 kB / 280.6 MB, free: 9.445 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.84e-05/0.01461, allocations: 52.38 kB / 280.6 MB, free: 9.395 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001206/0.01582, allocations: 0.7577 MB / 281.4 MB, free: 8.551 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.28e-05/0.01584, allocations: 4.172 kB / 281.4 MB, free: 8.547 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.093e-05/0.0159, allocations: 27.94 kB / 281.4 MB, free: 8.52 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.258e-05/0.01591, allocations: 12 kB / 281.4 MB, free: 8.508 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007449/0.01666, allocations: 315.8 kB / 281.8 MB, free: 8.199 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002743/0.0194, allocations: 1.337 MB / 283.1 MB, free: 6.777 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005805/0.01998, allocations: 190.5 kB / 283.3 MB, free: 6.582 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002302/0.02021, allocations: 84.81 kB / 283.4 MB, free: 6.496 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.02024, allocations: 4 kB / 283.4 MB, free: 6.492 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005403/0.02078, allocations: 324.4 kB / 283.7 MB, free: 6.121 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 1.813e-06/0.02078, allocations: 0 / 283.7 MB, free: 6.121 MB / 266.7 MB Notification: Performance of matching and sorting (n=27): time 0.001572/0.02235, allocations: 479.1 kB / 284.1 MB, free: 5.637 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002304/0.02258, allocations: 316.4 kB / 284.5 MB, free: 5.254 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003861/0.02297, allocations: 308.1 kB / 284.8 MB, free: 4.941 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.886e-05/0.02301, allocations: 29.7 kB / 284.8 MB, free: 4.906 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002366/0.02324, allocations: 280 kB / 285.1 MB, free: 4.629 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.199e-05/0.02333, allocations: 99.17 kB / 285.2 MB, free: 4.531 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001512/0.02349, allocations: 78.06 kB / 285.2 MB, free: 4.445 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001935/0.02368, allocations: 338.8 kB / 285.6 MB, free: 4.105 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002786/0.02396, allocations: 130.4 kB / 285.7 MB, free: 3.973 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006202/0.02458, allocations: 0.5351 MB / 286.2 MB, free: 3.301 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006147/0.02519, allocations: 343.1 kB / 286.6 MB, free: 2.922 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.02519, allocations: 0 / 286.6 MB, free: 2.922 MB / 266.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001306/0.0265, allocations: 0.5704 MB / 287.1 MB, free: 2.324 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.785e-05/0.02655, allocations: 33.7 kB / 287.2 MB, free: 2.285 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.02656, allocations: 8 kB / 287.2 MB, free: 2.277 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001035/0.0276, allocations: 218.4 kB / 287.4 MB, free: 2.055 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001933/0.02779, allocations: 47.91 kB / 287.4 MB, free: 2.008 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005213/0.033, allocations: 4.554 MB / 292 MB, free: 13.15 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003922/0.03339, allocations: 71.77 kB / 292.1 MB, free: 13.08 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.059e-05/0.03342, allocations: 16 kB / 292.1 MB, free: 13.06 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,6,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002297/0.03365, allocations: 161.7 kB / 292.2 MB, free: 12.89 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.87e-05/0.03373, allocations: 39.81 kB / 292.3 MB, free: 12.86 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.974e-05/0.0338, allocations: 38.98 kB / 292.3 MB, free: 12.82 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.03381, allocations: 4.031 kB / 292.3 MB, free: 12.81 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/0.03382, allocations: 8 kB / 292.3 MB, free: 12.8 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.03382, allocations: 3.984 kB / 292.3 MB, free: 12.8 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003793/0.0342, allocations: 289 kB / 292.6 MB, free: 12.49 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.03421, allocations: 0 / 292.6 MB, free: 12.49 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001915/0.0344, allocations: 32.16 kB / 292.6 MB, free: 12.46 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005777/0.03498, allocations: 139.3 kB / 292.8 MB, free: 12.31 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.047e-05/0.035, allocations: 4 kB / 292.8 MB, free: 12.3 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005121/0.04012, allocations: 5.256 MB / 298 MB, free: 6.645 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.04012, allocations: 0 / 298 MB, free: 6.645 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009004/0.04102, allocations: 368.2 kB / 298.4 MB, free: 6.254 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.617e-05/0.04108, allocations: 31.73 kB / 298.4 MB, free: 6.223 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.909e-05/0.04113, allocations: 8 kB / 298.4 MB, free: 6.215 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002791/0.04141, allocations: 27.97 kB / 298.5 MB, free: 6.188 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001412/0.04155, allocations: 55.86 kB / 298.5 MB, free: 6.133 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.306e-05/0.04158, allocations: 11.98 kB / 298.5 MB, free: 6.121 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002727/0.04185, allocations: 211.1 kB / 298.7 MB, free: 5.914 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04185, allocations: 0 / 298.7 MB, free: 5.914 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006414/0.04249, allocations: 155.7 kB / 298.9 MB, free: 5.762 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001637/0.04265, allocations: 111.2 kB / 299 MB, free: 5.641 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001351/0.04401, allocations: 0.7194 MB / 299.7 MB, free: 4.863 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.04401, allocations: 4 kB / 299.7 MB, free: 4.859 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008576/0.04487, allocations: 0.5733 MB / 300.3 MB, free: 4.234 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003745/0.04524, allocations: 60.12 kB / 300.3 MB, free: 4.176 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001344/0.04659, allocations: 0.6652 MB / 301 MB, free: 3.48 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002351/0.04682, allocations: 212.2 kB / 301.2 MB, free: 3.254 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001601/0.04698, allocations: 43.05 kB / 301.3 MB, free: 3.207 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.04708, allocations: 32.5 kB / 301.3 MB, free: 3.176 MB / 282.7 MB Notification: Performance of SimCode: time 8.11e-07/0.04709, allocations: 4 kB / 301.3 MB, free: 3.172 MB / 282.7 MB Notification: Performance of Templates: time 0.1219/0.169, allocations: 6.12 MB / 307.4 MB, free: 41.03 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/Lines/CompareLosslessLines/CompareLosslessLines.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.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: 4.697780615999363]