Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.009076/0.009076, allocations: 105.4 kB / 21.98 MB, free: 5.223 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.00247/0.00247, allocations: 214.3 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.474/1.474, allocations: 230.6 MB / 259 MB, free: 8.027 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-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 67.89 kB / 379.9 MB, free: 2.605 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2521/0.2541, allocations: 53.36 MB / 433.2 MB, free: 6.953 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.007211/0.2613, allocations: 5.82 MB / 439 MB, free: 1.113 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00262/0.2639, allocations: 1.204 MB / 440.2 MB, free: 15.9 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005346/0.2644, allocations: 23.94 kB / 440.3 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004137/0.2649, allocations: 170.4 kB / 440.4 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006335/0.2655, allocations: 277.4 kB / 440.7 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004902/0.266, allocations: 231.6 kB / 440.9 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001218/0.2672, allocations: 1.06 MB / 442 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006547/0.2678, allocations: 410.9 kB / 442.4 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005062/0.2684, allocations: 422.6 kB / 442.8 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006172/0.269, allocations: 474 kB / 443.3 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001471/0.2691, allocations: 99.94 kB / 443.4 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00016/0.2693, allocations: 100 kB / 443.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001905/0.2695, allocations: 219.3 kB / 443.7 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004805/0.2699, allocations: 0.5015 MB / 444.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00124/0.2712, allocations: 1.11 MB / 445.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.2712, allocations: 0 / 445.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2712, allocations: 0 / 445.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.566e-05/0.2712, allocations: 0 / 445.3 MB, free: 10.82 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.00207/0.2733, allocations: 1.183 MB / 446.5 MB, free: 9.598 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.2733, allocations: 12.02 kB / 446.5 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001739/0.2735, allocations: 112.3 kB / 446.6 MB, free: 9.477 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006961/0.2742, allocations: 405.5 kB / 447 MB, free: 9.055 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.968e-05/0.2743, allocations: 70.38 kB / 447 MB, free: 8.988 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001294/0.2744, allocations: 92.38 kB / 447.1 MB, free: 8.898 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001453/0.2758, allocations: 0.8717 MB / 448 MB, free: 8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/0.2759, allocations: 3.938 kB / 448 MB, free: 7.996 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.768e-05/0.2759, allocations: 40 kB / 448.1 MB, free: 7.957 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.807e-05/0.276, allocations: 28 kB / 448.1 MB, free: 7.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001053/0.277, allocations: 0.5661 MB / 448.6 MB, free: 7.367 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004424/0.2814, allocations: 2.872 MB / 451.5 MB, free: 4.379 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004608/0.2819, allocations: 269.7 kB / 451.8 MB, free: 4.109 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003627/0.2823, allocations: 232.7 kB / 452 MB, free: 3.879 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.324e-05/0.2823, allocations: 11.94 kB / 452 MB, free: 3.867 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.24e-05/0.2823, allocations: 34.56 kB / 452.1 MB, free: 3.824 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 2.114e-06/0.2823, allocations: 0 / 452.1 MB, free: 3.824 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.001611/0.284, allocations: 0.5798 MB / 452.6 MB, free: 3.234 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.608e-05/0.284, allocations: 55.41 kB / 452.7 MB, free: 3.168 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007933/0.2848, allocations: 0.5258 MB / 453.2 MB, free: 2.633 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.016e-05/0.2849, allocations: 33.7 kB / 453.2 MB, free: 2.594 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003705/0.2852, allocations: 499.2 kB / 453.7 MB, free: 2.098 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001437/0.2854, allocations: 162.6 kB / 453.9 MB, free: 1.938 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002005/0.2856, allocations: 138.6 kB / 454 MB, free: 1.797 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001937/0.2858, allocations: 362.8 kB / 454.4 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003507/0.2861, allocations: 169.9 kB / 454.5 MB, free: 1.266 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006142/0.2867, allocations: 453.5 kB / 455 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009342/0.2877, allocations: 0.6509 MB / 455.6 MB, free: 15.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.246e-06/0.2877, allocations: 4 kB / 455.6 MB, free: 15.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00134/0.289, allocations: 0.7598 MB / 456.4 MB, free: 15.14 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.289, allocations: 12 kB / 456.4 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.472e-05/0.289, allocations: 8 kB / 456.4 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003541/0.2894, allocations: 80.81 kB / 456.5 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009009/0.2903, allocations: 199.9 kB / 456.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002144/0.2924, allocations: 1.899 MB / 458.6 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005455/0.293, allocations: 87.3 kB / 458.7 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.677e-05/0.293, allocations: 36 kB / 458.7 MB, free: 12.71 MB / 366.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.000344/0.2934, allocations: 221.6 kB / 458.9 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/0.2935, allocations: 59.62 kB / 459 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001073/0.2936, allocations: 61.52 kB / 459.1 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.2936, allocations: 4 kB / 459.1 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/0.2936, allocations: 3.984 kB / 459.1 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.2936, allocations: 3.938 kB / 459.1 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008258/0.2945, allocations: 0.6249 MB / 459.7 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.2945, allocations: 0 / 459.7 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004166/0.2949, allocations: 103.9 kB / 459.8 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002314/0.2951, allocations: 72.73 kB / 459.9 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.731e-05/0.2951, allocations: 8 kB / 459.9 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002027/0.2972, allocations: 1.879 MB / 461.8 MB, free: 9.512 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.2972, allocations: 3.938 kB / 461.8 MB, free: 9.508 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001097/0.2983, allocations: 0.6546 MB / 462.4 MB, free: 8.836 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001457/0.2984, allocations: 67.67 kB / 462.5 MB, free: 8.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.6e-05/0.2985, allocations: 11.94 kB / 462.5 MB, free: 8.758 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004035/0.2989, allocations: 43.95 kB / 462.5 MB, free: 8.715 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.448e-05/0.2989, allocations: 23.95 kB / 462.6 MB, free: 8.691 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.738e-05/0.299, allocations: 23.98 kB / 462.6 MB, free: 8.668 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004334/0.2994, allocations: 346.9 kB / 462.9 MB, free: 8.332 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2994, allocations: 0 / 462.9 MB, free: 8.332 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000828/0.3002, allocations: 247.5 kB / 463.2 MB, free: 8.09 MB / 366.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.000154/0.3004, allocations: 111.2 kB / 463.3 MB, free: 7.969 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001243/0.3016, allocations: 0.5652 MB / 463.8 MB, free: 7.391 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.391e-06/0.3016, allocations: 0 / 463.8 MB, free: 7.391 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005731/0.3022, allocations: 314.9 kB / 464.1 MB, free: 7.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007055/0.3029, allocations: 122.2 kB / 464.3 MB, free: 6.953 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002725/0.3056, allocations: 1.452 MB / 465.7 MB, free: 5.465 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005798/0.3062, allocations: 0.9336 MB / 466.6 MB, free: 4.504 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001442/0.3064, allocations: 43.44 kB / 466.7 MB, free: 4.461 MB / 366.1 MB Notification: Performance of SimCode: time 1.082e-06/0.3064, allocations: 0 / 466.7 MB, free: 4.461 MB / 366.1 MB Notification: Performance of Templates: time 0.01717/0.3235, allocations: 11.09 MB / 477.8 MB, free: 9.395 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CauerLowPassOPV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 8.242654508911073]