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.001337/0.001337, allocations: 124.5 kB / 17.79 MB, free: 5.266 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.001478/0.001478, allocations: 207.2 kB / 20.75 MB, free: 2.316 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.527/1.527, allocations: 230.6 MB / 254.1 MB, free: 15.07 MB / 206.1 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 0.001646/0.001646, allocations: 43.94 kB / 373.5 MB, free: 9.648 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1149, allocations: 53.34 MB / 426.8 MB, free: 4.211 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines): time 0.0053/0.1202, allocations: 3.61 MB / 430.5 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2314/0.3516, allocations: 0.888 MB / 431.3 MB, free: 8.098 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003108/0.3519, allocations: 7.094 kB / 431.3 MB, free: 8.098 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002582/0.3522, allocations: 81.05 kB / 431.4 MB, free: 8.098 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003753/0.3526, allocations: 154.1 kB / 431.6 MB, free: 8.098 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004138/0.353, allocations: 189.8 kB / 431.8 MB, free: 8.098 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005873/0.3536, allocations: 0.6201 MB / 432.4 MB, free: 8.035 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002699/0.3538, allocations: 165.8 kB / 432.5 MB, free: 8.012 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002485/0.3541, allocations: 246.4 kB / 432.8 MB, free: 7.973 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002933/0.3544, allocations: 297.1 kB / 433.1 MB, free: 7.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.445e-05/0.3544, allocations: 57.81 kB / 433.1 MB, free: 7.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.3e-05/0.3545, allocations: 58.06 kB / 433.2 MB, free: 7.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.049e-05/0.3546, allocations: 117.9 kB / 433.3 MB, free: 7.895 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002262/0.3548, allocations: 285.9 kB / 433.6 MB, free: 7.816 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005664/0.3554, allocations: 0.6124 MB / 434.2 MB, free: 7.723 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3554, allocations: 0 / 434.2 MB, free: 7.723 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.3554, allocations: 0 / 434.2 MB, free: 7.723 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.929e-06/0.3554, allocations: 0 / 434.2 MB, free: 7.723 MB / 350.1 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.001506/0.3569, allocations: 0.8643 MB / 435.1 MB, free: 7.176 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.357, allocations: 9.938 kB / 435.1 MB, free: 7.176 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001129/0.3571, allocations: 57.17 kB / 435.1 MB, free: 7.148 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004182/0.3575, allocations: 341.2 kB / 435.5 MB, free: 6.898 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.263e-05/0.3575, allocations: 36.77 kB / 435.5 MB, free: 6.898 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.36e-05/0.3576, allocations: 46.53 kB / 435.5 MB, free: 6.898 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008707/0.3585, allocations: 0.5155 MB / 436.1 MB, free: 6.793 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.3585, allocations: 5.031 kB / 436.1 MB, free: 6.789 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.009e-05/0.3585, allocations: 21.3 kB / 436.1 MB, free: 6.789 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/0.3586, allocations: 11.84 kB / 436.1 MB, free: 6.789 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006768/0.3592, allocations: 313.9 kB / 436.4 MB, free: 6.711 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00229/0.3615, allocations: 1.555 MB / 438 MB, free: 5.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005082/0.362, allocations: 199.2 kB / 438.2 MB, free: 5.648 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002165/0.3622, allocations: 87.14 kB / 438.2 MB, free: 5.613 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/0.3623, allocations: 2.25 kB / 438.2 MB, free: 5.613 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003859/0.3627, allocations: 212.2 kB / 438.4 MB, free: 5.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.402e-06/0.3627, allocations: 5.375 kB / 438.4 MB, free: 5.477 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001528/0.3642, allocations: 0.7684 MB / 439.2 MB, free: 4.918 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.372e-05/0.3643, allocations: 323.8 kB / 439.5 MB, free: 4.535 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003503/0.3646, allocations: 307.4 kB / 439.8 MB, free: 4.363 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.929e-05/0.3646, allocations: 33.8 kB / 439.9 MB, free: 4.328 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/0.3648, allocations: 272.8 kB / 440.1 MB, free: 4.109 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.142e-05/0.3648, allocations: 94.64 kB / 440.2 MB, free: 4.039 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001265/0.365, allocations: 84.09 kB / 440.3 MB, free: 3.988 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.679e-05/0.365, allocations: 343.9 kB / 440.6 MB, free: 3.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002484/0.3653, allocations: 102.7 kB / 440.7 MB, free: 3.625 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003454/0.3656, allocations: 252.8 kB / 441 MB, free: 3.402 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005157/0.3661, allocations: 337.6 kB / 441.3 MB, free: 3.16 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.3661, allocations: 0 / 441.3 MB, free: 3.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001243/0.3674, allocations: 0.525 MB / 441.8 MB, free: 2.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.785e-05/0.3674, allocations: 37.84 kB / 441.9 MB, free: 2.875 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.3674, allocations: 3.312 kB / 441.9 MB, free: 2.875 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007223/0.3682, allocations: 166.5 kB / 442 MB, free: 2.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002216/0.3684, allocations: 51.52 kB / 442.1 MB, free: 2.812 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004441/0.3728, allocations: 4.936 MB / 447 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004634/0.3733, allocations: 63.52 kB / 447.1 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.982e-05/0.3733, allocations: 16.03 kB / 447.1 MB, free: 14.12 MB / 366.1 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.000281/0.3736, allocations: 166.2 kB / 447.3 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.706e-05/0.3737, allocations: 34 kB / 447.3 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.291e-05/0.3737, allocations: 44.5 kB / 447.4 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.3738, allocations: 8.312 kB / 447.4 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.531e-05/0.3738, allocations: 1.312 kB / 447.4 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.3738, allocations: 4.641 kB / 447.4 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005952/0.3744, allocations: 423.3 kB / 447.8 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3744, allocations: 1.156 kB / 447.8 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000182/0.3746, allocations: 32.98 kB / 447.8 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003299/0.3749, allocations: 105.3 kB / 447.9 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.118e-05/0.3749, allocations: 4.406 kB / 447.9 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004668/0.3796, allocations: 5.765 MB / 453.7 MB, free: 7.754 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.3796, allocations: 0 / 453.7 MB, free: 7.754 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008734/0.3804, allocations: 361.2 kB / 454 MB, free: 7.559 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.3806, allocations: 108 kB / 454.1 MB, free: 7.445 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.144e-05/0.3806, allocations: 8.266 kB / 454.2 MB, free: 7.441 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002808/0.3809, allocations: 38.33 kB / 454.2 MB, free: 7.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001441/0.381, allocations: 50.09 kB / 454.2 MB, free: 7.418 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-05/0.3811, allocations: 12.03 kB / 454.2 MB, free: 7.414 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002788/0.3813, allocations: 216.2 kB / 454.5 MB, free: 7.297 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3813, allocations: 0 / 454.5 MB, free: 7.297 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00067/0.382, allocations: 150.2 kB / 454.6 MB, free: 7.262 MB / 366.1 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.000166/0.3822, allocations: 118.1 kB / 454.7 MB, free: 7.16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001297/0.3835, allocations: 0.6939 MB / 455.4 MB, free: 6.656 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.3835, allocations: 1.312 kB / 455.4 MB, free: 6.656 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007703/0.3842, allocations: 0.584 MB / 456 MB, free: 6.156 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003639/0.3846, allocations: 58.44 kB / 456.1 MB, free: 6.137 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.3859, allocations: 0.687 MB / 456.7 MB, free: 5.734 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004289/0.3863, allocations: 0.8145 MB / 457.6 MB, free: 5.027 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001452/0.3865, allocations: 41.27 kB / 457.6 MB, free: 5.016 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.34e-05/0.3866, allocations: 35.89 kB / 457.6 MB, free: 5.004 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3866, allocations: 0 / 457.6 MB, free: 5.004 MB / 366.1 MB Notification: Performance of Templates: time 0.01245/0.399, allocations: 6.035 MB / 463.7 MB, free: 3.367 MB / 366.1 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: 5.051431301981211]