Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.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.001351/0.001351, allocations: 78.66 kB / 21.42 MB, free: 3.074 MB / 18.57 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.001725/0.001725, allocations: 166 kB / 24.82 MB, free: 9.266 MB / 18.57 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.078/1.078, allocations: 177.1 MB / 205.3 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] 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.CauerLowPassAnalog,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|C1.v|C3.v|C5.v|L1.i|L2.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|C1.v|C3.v|C5.v|L1.i|L2.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 273.4 MB, free: 1.238 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.622e-05/2.821e-05, allocations: 2.312 kB / 273.4 MB, free: 1.234 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.00467/0.004699, allocations: 2.791 MB / 276.2 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001509/0.006207, allocations: 0.6464 MB / 276.9 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002267/0.006434, allocations: 4 kB / 276.9 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001913/0.006625, allocations: 43.56 kB / 276.9 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003583/0.006984, allocations: 103.1 kB / 277 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003732/0.007357, allocations: 75.88 kB / 277.1 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004207/0.007778, allocations: 366.7 kB / 277.4 MB, free: 13.19 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002292/0.008007, allocations: 103.7 kB / 277.5 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001967/0.008204, allocations: 199.6 kB / 277.7 MB, free: 12.9 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001583/0.008362, allocations: 115.6 kB / 277.8 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.953e-05/0.008401, allocations: 32 kB / 277.9 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.468e-05/0.008436, allocations: 36 kB / 277.9 MB, free: 12.72 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.244e-05/0.008479, allocations: 63.75 kB / 278 MB, free: 12.66 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.093e-05/0.00856, allocations: 115.7 kB / 278.1 MB, free: 12.54 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002472/0.008807, allocations: 231.2 kB / 278.3 MB, free: 12.32 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.008812, allocations: 0 / 278.3 MB, free: 12.32 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.008813, allocations: 0 / 278.3 MB, free: 12.32 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.008817, allocations: 0 / 278.3 MB, free: 12.32 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.0006104/0.009428, allocations: 0.6286 MB / 278.9 MB, free: 11.65 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.009465, allocations: 8.031 kB / 278.9 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.378e-05/0.009529, allocations: 64.75 kB / 279 MB, free: 11.58 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002407/0.009769, allocations: 196 kB / 279.2 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.352e-05/0.009793, allocations: 25.03 kB / 279.2 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.258e-05/0.009835, allocations: 28.38 kB / 279.3 MB, free: 11.31 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002707/0.01011, allocations: 234.8 kB / 279.5 MB, free: 11.06 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.01012, allocations: 192 / 279.5 MB, free: 11.06 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.072e-05/0.01014, allocations: 16.38 kB / 279.5 MB, free: 11.04 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.01015, allocations: 7.938 kB / 279.5 MB, free: 11.04 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001001/0.01025, allocations: 84.45 kB / 279.6 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000933/0.01118, allocations: 0.8558 MB / 280.4 MB, free: 10.04 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001872/0.01137, allocations: 127.1 kB / 280.6 MB, free: 9.906 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.746e-05/0.01146, allocations: 98.72 kB / 280.7 MB, free: 9.809 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.193e-05/0.01148, allocations: 4 kB / 280.7 MB, free: 9.805 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.01151, allocations: 37.39 kB / 280.7 MB, free: 9.758 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.864e-06/0.01151, allocations: 0 / 280.7 MB, free: 9.758 MB / 266.7 MB Notification: Performance of matching and sorting (n=25): time 0.0007734/0.01228, allocations: 0.5375 MB / 281.2 MB, free: 9.184 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.025e-05/0.01231, allocations: 59.39 kB / 281.3 MB, free: 9.113 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.01243, allocations: 234.6 kB / 281.5 MB, free: 8.867 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.01245, allocations: 29.7 kB / 281.6 MB, free: 8.832 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.479e-05/0.01254, allocations: 215.3 kB / 281.8 MB, free: 8.617 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.183e-05/0.01259, allocations: 103.1 kB / 281.9 MB, free: 8.516 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.645e-05/0.01265, allocations: 51.62 kB / 281.9 MB, free: 8.457 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.01279, allocations: 0.5001 MB / 282.4 MB, free: 7.945 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.893e-05/0.01283, allocations: 32.47 kB / 282.5 MB, free: 7.914 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.768e-05/0.01288, allocations: 68.42 kB / 282.5 MB, free: 7.84 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.867e-05/0.01298, allocations: 99.33 kB / 282.6 MB, free: 7.734 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.01298, allocations: 4 kB / 282.6 MB, free: 7.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002561/0.01324, allocations: 244.9 kB / 282.9 MB, free: 7.48 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.01326, allocations: 8 kB / 282.9 MB, free: 7.473 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.01326, allocations: 160 / 282.9 MB, free: 7.473 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001822/0.01345, allocations: 83.59 kB / 283 MB, free: 7.387 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.789e-05/0.01354, allocations: 39.92 kB / 283 MB, free: 7.348 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001319/0.01486, allocations: 2.326 MB / 285.3 MB, free: 4.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.585e-05/0.01492, allocations: 8 kB / 285.3 MB, free: 4.902 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.01493, allocations: 8 kB / 285.3 MB, free: 4.895 MB / 266.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 (22): * Single equations (assignments): 21 * 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 {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.942e-05/0.01502, allocations: 168.6 kB / 285.5 MB, free: 4.719 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.323e-05/0.01505, allocations: 31.73 kB / 285.5 MB, free: 4.688 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.574e-05/0.01508, allocations: 29.95 kB / 285.6 MB, free: 4.656 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.01508, allocations: 4 kB / 285.6 MB, free: 4.652 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.01509, allocations: 0 / 285.6 MB, free: 4.652 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.01509, allocations: 8.031 kB / 285.6 MB, free: 4.645 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000525/0.01562, allocations: 0.5636 MB / 286.1 MB, free: 4.043 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.01562, allocations: 4 kB / 286.1 MB, free: 4.039 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.065e-05/0.01571, allocations: 43.97 kB / 286.2 MB, free: 3.996 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001313/0.01584, allocations: 75.58 kB / 286.3 MB, free: 3.918 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.01586, allocations: 8 kB / 286.3 MB, free: 3.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001031/0.01689, allocations: 2.24 MB / 288.5 MB, free: 1.559 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.01689, allocations: 0 / 288.5 MB, free: 1.559 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003035/0.01719, allocations: 408.1 kB / 288.9 MB, free: 1.137 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.973e-05/0.01721, allocations: 23.78 kB / 288.9 MB, free: 1.113 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.01723, allocations: 8 kB / 288.9 MB, free: 1.105 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.536e-05/0.0173, allocations: 12.03 kB / 288.9 MB, free: 1.094 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.513e-05/0.01735, allocations: 23.95 kB / 289 MB, free: 1.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-06/0.01735, allocations: 4 kB / 289 MB, free: 1.066 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.417e-05/0.01742, allocations: 177 kB / 289.1 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01742, allocations: 0 / 289.1 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002649/0.01768, allocations: 76 kB / 289.2 MB, free: 0.8203 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,C3.v,C5.v,L1.i,L2.i) * 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 (16): * Single equations (assignments): 15 * 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 9.373e-05/0.01778, allocations: 99.25 kB / 289.3 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003405/0.01812, allocations: 357.2 kB / 289.7 MB, free: 348 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.01812, allocations: 4 kB / 289.7 MB, free: 344 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002088/0.01833, allocations: 293.2 kB / 290 MB, free: 28 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002407/0.01857, allocations: 40.06 kB / 290 MB, free: 15.98 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007997/0.01937, allocations: 0.6486 MB / 290.6 MB, free: 15.31 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.494e-05/0.01942, allocations: 88.31 kB / 290.7 MB, free: 15.2 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.046e-05/0.01948, allocations: 17.94 kB / 290.7 MB, free: 15.19 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.01958, allocations: 118.2 kB / 290.9 MB, free: 15.07 MB / 282.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01958, allocations: 0 / 290.9 MB, free: 15.07 MB / 282.7 MB Notification: Performance of Templates: time 0.005134/0.02472, allocations: 3.547 MB / 294.4 MB, free: 11.59 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.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.8342175129801035]