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.001821/0.001821, allocations: 83.16 kB / 20.68 MB, free: 1.035 MB / 14.72 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.002306/0.002306, allocations: 157.4 kB / 23.95 MB, free: 4.168 MB / 14.72 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.502/1.502, allocations: 177 MB / 204.1 MB, free: 9.164 MB / 190.1 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.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.363e-06/1.363e-06, allocations: 0 / 325.1 MB, free: 456 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.091e-05/2.227e-05, allocations: 2.281 kB / 325.1 MB, free: 452 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.006858/0.00688, allocations: 5.101 MB / 330.2 MB, free: 13 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002759/0.009639, allocations: 1.177 MB / 331.3 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005002/0.01014, allocations: 21.84 kB / 331.4 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004197/0.01056, allocations: 170.2 kB / 331.5 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000716/0.01128, allocations: 298.5 kB / 331.8 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005325/0.01181, allocations: 225.5 kB / 332 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001272/0.01308, allocations: 1.109 MB / 333.2 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006348/0.01371, allocations: 378.6 kB / 333.5 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008734/0.01459, allocations: 0.6291 MB / 334.1 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005363/0.01512, allocations: 342.8 kB / 334.5 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001357/0.01526, allocations: 97.44 kB / 334.6 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001721/0.01543, allocations: 97.66 kB / 334.7 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002105/0.01564, allocations: 224.3 kB / 334.9 MB, free: 9.875 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004086/0.01605, allocations: 365.1 kB / 335.2 MB, free: 9.684 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00126/0.01731, allocations: 1.127 MB / 336.4 MB, free: 8.844 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.01731, allocations: 0 / 336.4 MB, free: 8.844 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.01731, allocations: 4 kB / 336.4 MB, free: 8.84 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.967e-05/0.01733, allocations: 0 / 336.4 MB, free: 8.84 MB / 302.1 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.002933/0.02027, allocations: 1.17 MB / 337.6 MB, free: 7.992 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.02031, allocations: 17.02 kB / 337.6 MB, free: 7.984 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002884/0.0206, allocations: 106.3 kB / 337.7 MB, free: 7.934 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001141/0.02174, allocations: 400.3 kB / 338.1 MB, free: 7.59 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001025/0.02185, allocations: 72.72 kB / 338.1 MB, free: 7.555 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002013/0.02205, allocations: 92.78 kB / 338.2 MB, free: 7.523 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002578/0.02463, allocations: 1.147 MB / 339.4 MB, free: 6.508 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.636e-05/0.02466, allocations: 4.188 kB / 339.4 MB, free: 6.504 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001547/0.02482, allocations: 48.36 kB / 339.4 MB, free: 6.457 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.091e-05/0.02486, allocations: 27.94 kB / 339.4 MB, free: 6.43 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001729/0.02659, allocations: 0.5699 MB / 340 MB, free: 5.859 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006728/0.03332, allocations: 2.558 MB / 342.6 MB, free: 3.199 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007146/0.03403, allocations: 261.8 kB / 342.8 MB, free: 2.938 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005819/0.03461, allocations: 221.3 kB / 343 MB, free: 2.719 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.268e-05/0.03464, allocations: 4 kB / 343.1 MB, free: 2.715 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.337e-05/0.0347, allocations: 42.5 kB / 343.1 MB, free: 2.664 MB / 302.1 MB Notification: Performance of pre-optimization done (n=42): time 2.956e-06/0.0347, allocations: 0 / 343.1 MB, free: 2.664 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.002397/0.0371, allocations: 0.577 MB / 343.7 MB, free: 2.078 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.872e-05/0.03717, allocations: 55.41 kB / 343.7 MB, free: 2.012 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009355/0.0381, allocations: 0.4976 MB / 344.2 MB, free: 1.5 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.879e-05/0.03816, allocations: 37.64 kB / 344.3 MB, free: 1.457 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005545/0.03872, allocations: 0.503 MB / 344.8 MB, free: 0.9453 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000199/0.03891, allocations: 154.7 kB / 344.9 MB, free: 0.793 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003144/0.03923, allocations: 134.6 kB / 345 MB, free: 0.6562 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0003187/0.03955, allocations: 370.7 kB / 345.4 MB, free: 292 kB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005138/0.04006, allocations: 169.9 kB / 345.6 MB, free: 120 kB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008857/0.04095, allocations: 453.6 kB / 346 MB, free: 15.54 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001352/0.0423, allocations: 0.643 MB / 346.7 MB, free: 14.77 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.564e-05/0.04231, allocations: 4 kB / 346.7 MB, free: 14.77 MB / 318.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002144/0.04446, allocations: 0.7521 MB / 347.4 MB, free: 14.01 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.204e-05/0.04449, allocations: 8 kB / 347.4 MB, free: 14 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.145e-05/0.04451, allocations: 12.09 kB / 347.4 MB, free: 13.99 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004706/0.04498, allocations: 84.75 kB / 347.5 MB, free: 13.9 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/0.0461, allocations: 195.7 kB / 347.7 MB, free: 13.71 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003185/0.04928, allocations: 1.864 MB / 349.6 MB, free: 11.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008433/0.05013, allocations: 87.34 kB / 349.7 MB, free: 11.66 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.976e-05/0.0502, allocations: 36 kB / 349.7 MB, free: 11.63 MB / 318.1 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.0004479/0.05065, allocations: 217.6 kB / 349.9 MB, free: 11.41 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001469/0.05079, allocations: 59.61 kB / 350 MB, free: 11.35 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001303/0.05092, allocations: 57.2 kB / 350 MB, free: 11.29 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.05093, allocations: 4 kB / 350 MB, free: 11.29 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.05094, allocations: 4 kB / 350 MB, free: 11.29 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.172e-05/0.05095, allocations: 3.984 kB / 350 MB, free: 11.28 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001042/0.05199, allocations: 464.8 kB / 350.5 MB, free: 10.8 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.052, allocations: 0 / 350.5 MB, free: 10.8 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006915/0.05269, allocations: 99.86 kB / 350.6 MB, free: 10.7 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003474/0.05304, allocations: 84.73 kB / 350.7 MB, free: 10.61 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.812e-05/0.05307, allocations: 4 kB / 350.7 MB, free: 10.61 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002905/0.05598, allocations: 1.841 MB / 352.5 MB, free: 8.664 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/0.05599, allocations: 3.938 kB / 352.5 MB, free: 8.66 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001626/0.05761, allocations: 0.6536 MB / 353.2 MB, free: 7.984 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001977/0.05781, allocations: 63.55 kB / 353.2 MB, free: 7.922 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/0.05791, allocations: 8 kB / 353.2 MB, free: 7.914 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006644/0.05858, allocations: 44.03 kB / 353.3 MB, free: 7.871 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/0.0587, allocations: 35.88 kB / 353.3 MB, free: 7.836 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.426e-05/0.05875, allocations: 15.98 kB / 353.3 MB, free: 7.82 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000629/0.05938, allocations: 326.9 kB / 353.7 MB, free: 7.504 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.05938, allocations: 4 kB / 353.7 MB, free: 7.5 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001521/0.0609, allocations: 247.4 kB / 353.9 MB, free: 7.258 MB / 318.1 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.0002086/0.06111, allocations: 111.2 kB / 354 MB, free: 7.141 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001623/0.06274, allocations: 0.557 MB / 354.6 MB, free: 6.574 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.06274, allocations: 0 / 354.6 MB, free: 6.574 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007688/0.06351, allocations: 311.8 kB / 354.9 MB, free: 6.258 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009003/0.06441, allocations: 102 kB / 355 MB, free: 6.156 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003251/0.06766, allocations: 1.291 MB / 356.3 MB, free: 4.832 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000524/0.06818, allocations: 343.8 kB / 356.6 MB, free: 4.469 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003815/0.06856, allocations: 60.94 kB / 356.7 MB, free: 4.41 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001483/0.06871, allocations: 40.5 kB / 356.7 MB, free: 4.371 MB / 318.1 MB Notification: Performance of SimCode: time 1.102e-06/0.06871, allocations: 4 kB / 356.7 MB, free: 4.367 MB / 318.1 MB Notification: Performance of Templates: time 0.0214/0.09011, allocations: 6.698 MB / 363.4 MB, free: 13.79 MB / 334.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.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.710455767810345]