Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001688/0.001688, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001956/0.001956, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.499/1.499, allocations: 177 MB / 204.4 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|source.i|load.v|load.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine") translateModel(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|source.i|load.v|load.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 272.2 MB, free: 1.758 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.006e-05/3.152e-05, allocations: 2.312 kB / 272.2 MB, free: 1.754 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.004409/0.004441, allocations: 2.662 MB / 274.9 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001765/0.006206, allocations: 0.8218 MB / 275.7 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001319/0.006338, allocations: 7.938 kB / 275.7 MB, free: 14.24 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001657/0.006504, allocations: 43.56 kB / 275.8 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000352/0.006856, allocations: 131 kB / 275.9 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004564/0.007312, allocations: 203.6 kB / 276.1 MB, free: 13.87 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005631/0.007875, allocations: 498.1 kB / 276.6 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001953/0.008071, allocations: 77.52 kB / 276.7 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004351/0.008506, allocations: 275.4 kB / 276.9 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003037/0.008809, allocations: 171.5 kB / 277.1 MB, free: 12.87 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.731e-05/0.008887, allocations: 44 kB / 277.2 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.008992, allocations: 51.92 kB / 277.2 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001065/0.009099, allocations: 95.66 kB / 277.3 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001808/0.009279, allocations: 143.6 kB / 277.4 MB, free: 12.54 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000646/0.009925, allocations: 478.5 kB / 277.9 MB, free: 12.07 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.009931, allocations: 8 kB / 277.9 MB, free: 12.06 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.009933, allocations: 0 / 277.9 MB, free: 12.06 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.032e-06/0.009939, allocations: 0 / 277.9 MB, free: 12.06 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001735/0.01167, allocations: 0.6181 MB / 278.5 MB, free: 11.41 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.01171, allocations: 11.98 kB / 278.5 MB, free: 11.4 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000235/0.01195, allocations: 68.69 kB / 278.6 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005265/0.01248, allocations: 252.7 kB / 278.9 MB, free: 11.06 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001038/0.01258, allocations: 68.47 kB / 278.9 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.479e-05/0.01263, allocations: 36.3 kB / 279 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006121/0.01325, allocations: 406.3 kB / 279.4 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.01326, allocations: 192 / 279.4 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.216e-05/0.01329, allocations: 16.12 kB / 279.4 MB, free: 10.48 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.0133, allocations: 4 kB / 279.4 MB, free: 10.48 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003691/0.01367, allocations: 161.9 kB / 279.5 MB, free: 10.32 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002389/0.01605, allocations: 0.8906 MB / 280.4 MB, free: 9.379 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003297/0.01638, allocations: 114.4 kB / 280.5 MB, free: 9.262 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002173/0.0166, allocations: 80.81 kB / 280.6 MB, free: 9.18 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.01662, allocations: 0 / 280.6 MB, free: 9.18 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.21e-05/0.01666, allocations: 38.56 kB / 280.6 MB, free: 9.133 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 8.41e-07/0.01666, allocations: 0 / 280.6 MB, free: 9.133 MB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.001034/0.0177, allocations: 291.2 kB / 280.9 MB, free: 8.836 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001242/0.01782, allocations: 158.2 kB / 281.1 MB, free: 8.645 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003911/0.01821, allocations: 265.9 kB / 281.3 MB, free: 8.371 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.854e-05/0.01825, allocations: 29.7 kB / 281.4 MB, free: 8.336 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001751/0.01843, allocations: 184.3 kB / 281.6 MB, free: 8.152 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.339e-05/0.01848, allocations: 51.52 kB / 281.6 MB, free: 8.102 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.01859, allocations: 45.69 kB / 281.7 MB, free: 8.051 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001982/0.01879, allocations: 346.8 kB / 282 MB, free: 7.703 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002158/0.019, allocations: 83.95 kB / 282.1 MB, free: 7.621 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003237/0.01932, allocations: 235.9 kB / 282.3 MB, free: 7.348 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003571/0.01968, allocations: 164.2 kB / 282.5 MB, free: 7.184 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.01968, allocations: 0 / 282.5 MB, free: 7.184 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.008191/0.02787, allocations: 0.8965 MB / 283.4 MB, free: 6.273 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/0.0279, allocations: 4 kB / 283.4 MB, free: 6.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.02791, allocations: 0 / 283.4 MB, free: 6.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01526/0.04316, allocations: 1.465 MB / 284.8 MB, free: 4.797 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001519/0.04332, allocations: 23.97 kB / 284.9 MB, free: 4.773 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01017/0.05348, allocations: 4.566 MB / 289.4 MB, free: 0 / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003847/0.05387, allocations: 20.09 kB / 289.4 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.826e-05/0.0539, allocations: 12.06 kB / 289.4 MB, free: 15.96 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * 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): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000226/0.05412, allocations: 133.8 kB / 289.6 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.403e-05/0.05421, allocations: 35.75 kB / 289.6 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.76e-05/0.05427, allocations: 33.52 kB / 289.6 MB, free: 15.76 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.05427, allocations: 4.062 kB / 289.7 MB, free: 15.75 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.016e-06/0.05428, allocations: 0 / 289.7 MB, free: 15.75 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.05428, allocations: 0 / 289.7 MB, free: 15.75 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/0.05531, allocations: 0.5082 MB / 290.2 MB, free: 15.2 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/0.05531, allocations: 4 kB / 290.2 MB, free: 15.2 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001274/0.05544, allocations: 15.98 kB / 290.2 MB, free: 15.18 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00034/0.05578, allocations: 69.69 kB / 290.2 MB, free: 15.11 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.367e-05/0.0558, allocations: 15.92 kB / 290.3 MB, free: 15.09 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002645/0.05845, allocations: 2.679 MB / 292.9 MB, free: 12.21 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.235e-05/0.05846, allocations: 7.875 kB / 292.9 MB, free: 12.2 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006004/0.05906, allocations: 317.7 kB / 293.3 MB, free: 11.87 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.658e-05/0.05912, allocations: 27.78 kB / 293.3 MB, free: 11.84 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.725e-05/0.05915, allocations: 4 kB / 293.3 MB, free: 11.84 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002074/0.05936, allocations: 15.98 kB / 293.3 MB, free: 11.82 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.598e-05/0.05946, allocations: 24.05 kB / 293.3 MB, free: 11.8 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.429e-05/0.05948, allocations: 15.97 kB / 293.3 MB, free: 11.79 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002572/0.05974, allocations: 189.2 kB / 293.5 MB, free: 11.6 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.05974, allocations: 4 kB / 293.5 MB, free: 11.6 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006179/0.06036, allocations: 99.84 kB / 293.6 MB, free: 11.5 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (11): * Single equations (assignments): 9 * 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,2,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.0002115/0.06057, allocations: 107.2 kB / 293.7 MB, free: 11.39 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001672/0.06224, allocations: 0.5271 MB / 294.3 MB, free: 10.84 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.06224, allocations: 64 / 294.3 MB, free: 10.84 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005164/0.06276, allocations: 325.1 kB / 294.6 MB, free: 10.49 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004691/0.06323, allocations: 59.47 kB / 294.6 MB, free: 10.43 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001088/0.06432, allocations: 0.5098 MB / 295.1 MB, free: 9.891 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000186/0.0645, allocations: 150.9 kB / 295.3 MB, free: 9.723 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001086/0.06461, allocations: 29.94 kB / 295.3 MB, free: 9.695 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.347e-05/0.0647, allocations: 28.48 kB / 295.4 MB, free: 9.668 MB / 282.7 MB Notification: Performance of SimCode: time 1.643e-06/0.0647, allocations: 0 / 295.4 MB, free: 9.668 MB / 282.7 MB Notification: Performance of Templates: time 0.01588/0.08058, allocations: 8.176 MB / 303.5 MB, free: 1.531 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/Lines/LightningLosslessTransmissionLine/LightningLosslessTransmissionLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.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.943060599965975]