Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.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.001083/0.001083, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001431/0.002515, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001068/0.001068, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001352/0.002419, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 0.9486/0.9486, allocations: 177.4 MB / 189.9 MB, free: 4.84 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1282/1.077, allocations: 53.86 MB / 243.7 MB, free: 14.92 MB / 250.7 MB " [Timeout remaining time 179] 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.CauerLowPassOPV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C7.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C7.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 245.1 MB, free: 13.61 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.161e-05/1.31e-05, allocations: 2.312 kB / 245.1 MB, free: 13.61 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.004085/0.004098, allocations: 5.649 MB / 250.7 MB, free: 7.926 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00127/0.005368, allocations: 1.265 MB / 252 MB, free: 6.652 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001996/0.005567, allocations: 19.94 kB / 252 MB, free: 6.633 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002096/0.005777, allocations: 182.3 kB / 252.2 MB, free: 6.453 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003094/0.006086, allocations: 289.2 kB / 252.5 MB, free: 6.168 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002376/0.006324, allocations: 219.7 kB / 252.7 MB, free: 5.953 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000608/0.006932, allocations: 1.106 MB / 253.8 MB, free: 4.844 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003716/0.007303, allocations: 395 kB / 254.2 MB, free: 4.426 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004312/0.007734, allocations: 0.6912 MB / 254.9 MB, free: 3.73 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003207/0.008055, allocations: 378.8 kB / 255.2 MB, free: 3.359 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 8.573e-05/0.008141, allocations: 96 kB / 255.3 MB, free: 3.266 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.48e-05/0.008226, allocations: 100 kB / 255.4 MB, free: 3.168 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.641e-05/0.008312, allocations: 159.4 kB / 255.6 MB, free: 3.012 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002014/0.008513, allocations: 303.4 kB / 255.9 MB, free: 2.715 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004841/0.008998, allocations: 0.6616 MB / 256.5 MB, free: 2.051 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.492e-05/0.009012, allocations: 0 / 256.5 MB, free: 2.051 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.009013, allocations: 0 / 256.5 MB, free: 2.051 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.139e-05/0.009034, allocations: 0 / 256.5 MB, free: 2.051 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.001154/0.01019, allocations: 1.376 MB / 257.9 MB, free: 0.6484 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.618e-05/0.01021, allocations: 8.625 kB / 257.9 MB, free: 0.6406 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001186/0.01033, allocations: 152.8 kB / 258.1 MB, free: 0.4922 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003056/0.01064, allocations: 316.9 kB / 258.4 MB, free: 160 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.658e-05/0.01067, allocations: 66.38 kB / 258.4 MB, free: 92 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.057e-05/0.01076, allocations: 100.4 kB / 258.5 MB, free: 15.99 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007861/0.01154, allocations: 0.9413 MB / 259.5 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.239e-05/0.01156, allocations: 192 / 259.5 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.975e-05/0.01162, allocations: 40.38 kB / 259.5 MB, free: 14.92 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.483e-05/0.01165, allocations: 27.94 kB / 259.5 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004035/0.01205, allocations: 233.8 kB / 259.8 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003035/0.01509, allocations: 2.318 MB / 262.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002473/0.01533, allocations: 177.4 kB / 262.3 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001883/0.01552, allocations: 153.8 kB / 262.4 MB, free: 11.92 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/0.01554, allocations: 4 kB / 262.4 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.01557, allocations: 38.56 kB / 262.5 MB, free: 11.87 MB / 266.7 MB Notification: Performance of pre-optimization done (n=42): time 2.134e-06/0.01557, allocations: 4 kB / 262.5 MB, free: 11.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=42): time 0.0006827/0.01626, allocations: 367.5 kB / 262.8 MB, free: 11.5 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.011e-05/0.01629, allocations: 63.17 kB / 262.9 MB, free: 11.42 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002498/0.01654, allocations: 446.9 kB / 263.3 MB, free: 10.97 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.326e-05/0.01656, allocations: 33.7 kB / 263.4 MB, free: 10.93 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001811/0.01674, allocations: 475.7 kB / 263.8 MB, free: 10.46 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.092e-05/0.01683, allocations: 166.6 kB / 264 MB, free: 10.3 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.01693, allocations: 134.5 kB / 264.1 MB, free: 10.16 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.01704, allocations: 374.6 kB / 264.5 MB, free: 9.785 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.719e-05/0.01711, allocations: 69.97 kB / 264.5 MB, free: 9.715 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002191/0.01733, allocations: 353.5 kB / 264.9 MB, free: 9.246 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000357/0.01768, allocations: 0.4985 MB / 265.4 MB, free: 8.621 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.01769, allocations: 3.938 kB / 265.4 MB, free: 8.617 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0005007/0.01819, allocations: 0.4915 MB / 265.9 MB, free: 8.117 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/0.01821, allocations: 8 kB / 265.9 MB, free: 8.109 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.01823, allocations: 8 kB / 265.9 MB, free: 8.102 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002682/0.01849, allocations: 88.89 kB / 266 MB, free: 8.012 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004339/0.01893, allocations: 227.7 kB / 266.2 MB, free: 7.789 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009495/0.01988, allocations: 1.594 MB / 267.8 MB, free: 6.109 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001862/0.02006, allocations: 87.3 kB / 267.9 MB, free: 6.023 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.287e-05/0.02009, allocations: 24 kB / 267.9 MB, free: 6 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (89): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001247/0.02021, allocations: 165.6 kB / 268.1 MB, free: 5.828 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.221e-05/0.02026, allocations: 55.81 kB / 268.1 MB, free: 5.773 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.472e-05/0.02032, allocations: 65.19 kB / 268.2 MB, free: 5.707 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.02032, allocations: 4 kB / 268.2 MB, free: 5.703 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.02033, allocations: 0 / 268.2 MB, free: 5.703 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.02033, allocations: 0 / 268.2 MB, free: 5.703 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002832/0.02062, allocations: 329.4 kB / 268.5 MB, free: 5.363 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.02062, allocations: 0 / 268.5 MB, free: 5.363 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002664/0.02088, allocations: 119.9 kB / 268.6 MB, free: 5.246 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.594e-05/0.02093, allocations: 51.56 kB / 268.7 MB, free: 5.195 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001602/0.02109, allocations: 80.66 kB / 268.8 MB, free: 5.113 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.0211, allocations: 12 kB / 268.8 MB, free: 5.102 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008262/0.02193, allocations: 1.572 MB / 270.3 MB, free: 3.441 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.02193, allocations: 0 / 270.3 MB, free: 3.441 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003182/0.02225, allocations: 421.7 kB / 270.8 MB, free: 3.012 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.229e-05/0.02228, allocations: 8 kB / 270.8 MB, free: 3.004 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001547/0.02244, allocations: 48 kB / 270.8 MB, free: 2.957 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.917e-05/0.02248, allocations: 31.94 kB / 270.8 MB, free: 2.926 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.02249, allocations: 15.92 kB / 270.9 MB, free: 2.91 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001088/0.0226, allocations: 184.4 kB / 271 MB, free: 2.73 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.0226, allocations: 0 / 271 MB, free: 2.73 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003977/0.023, allocations: 255.4 kB / 271.3 MB, free: 2.48 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C1.v,C2.v,C3.v,C4.v,C7.v) * 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 (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001007/0.0231, allocations: 100.3 kB / 271.4 MB, free: 2.371 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003876/0.02348, allocations: 457 kB / 271.8 MB, free: 1.918 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.524e-05/0.0235, allocations: 12.56 kB / 271.8 MB, free: 1.906 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001935/0.02369, allocations: 263.2 kB / 272.1 MB, free: 1.633 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002909/0.02398, allocations: 153.9 kB / 272.3 MB, free: 1.484 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00415/0.02813, allocations: 1.293 MB / 273.5 MB, free: 156 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001011/0.02824, allocations: 154.6 kB / 273.7 MB, free: 15.98 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000131/0.02837, allocations: 64.92 kB / 273.8 MB, free: 15.91 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002179/0.02858, allocations: 189.3 kB / 273.9 MB, free: 15.73 MB / 282.7 MB Notification: Performance of SimCode: time 8.22e-07/0.02859, allocations: 0 / 273.9 MB, free: 15.73 MB / 282.7 MB Notification: Performance of Templates: time 0.00941/0.038, allocations: 7.751 MB / 281.7 MB, free: 8.098 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.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: 2.6274288836866617]