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.001388/0.001388, 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.001492/0.001492, 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.474/1.474, allocations: 177 MB / 204.4 MB, free: 5.621 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.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 2.063e-06/2.063e-06, allocations: 0 / 272.2 MB, free: 1.754 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.863e-05/4.07e-05, allocations: 2.312 kB / 272.2 MB, free: 1.75 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.007542/0.007583, allocations: 5.09 MB / 277.3 MB, free: 12.63 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002633/0.01022, allocations: 1.18 MB / 278.5 MB, free: 11.44 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003263/0.01054, allocations: 23.94 kB / 278.5 MB, free: 11.42 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000382/0.01092, allocations: 170.4 kB / 278.7 MB, free: 11.25 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005907/0.01151, allocations: 297.2 kB / 279 MB, free: 10.96 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004903/0.012, allocations: 219.6 kB / 279.2 MB, free: 10.74 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00135/0.01335, allocations: 1.106 MB / 280.3 MB, free: 9.629 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007735/0.01413, allocations: 391 kB / 280.7 MB, free: 9.227 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008668/0.015, allocations: 0.6277 MB / 281.3 MB, free: 8.598 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005462/0.01554, allocations: 343 kB / 281.7 MB, free: 8.262 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001536/0.0157, allocations: 100 kB / 281.8 MB, free: 8.164 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001639/0.01586, allocations: 96 kB / 281.9 MB, free: 8.07 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005168/0.01638, allocations: 227.1 kB / 282.1 MB, free: 7.848 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004533/0.01683, allocations: 363.2 kB / 282.4 MB, free: 7.492 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001612/0.01844, allocations: 1.137 MB / 283.6 MB, free: 6.352 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.01845, allocations: 0 / 283.6 MB, free: 6.352 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.01845, allocations: 0 / 283.6 MB, free: 6.352 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.288e-05/0.01846, allocations: 0 / 283.6 MB, free: 6.352 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.002468/0.02093, allocations: 1.171 MB / 284.7 MB, free: 5.145 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/0.02098, allocations: 15.98 kB / 284.8 MB, free: 5.129 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003126/0.02129, allocations: 180.3 kB / 284.9 MB, free: 4.953 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008377/0.02213, allocations: 408.8 kB / 285.3 MB, free: 4.523 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.77e-05/0.02222, allocations: 78.36 kB / 285.4 MB, free: 4.449 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001678/0.02238, allocations: 96.38 kB / 285.5 MB, free: 4.355 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001822/0.02421, allocations: 1.14 MB / 286.6 MB, free: 3.121 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.314e-05/0.02423, allocations: 4.125 kB / 286.6 MB, free: 3.117 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.522e-05/0.02432, allocations: 44.38 kB / 286.7 MB, free: 3.074 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.64e-05/0.02435, allocations: 23.94 kB / 286.7 MB, free: 3.051 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001103/0.02545, allocations: 0.5661 MB / 287.3 MB, free: 2.488 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1635/0.189, allocations: 2.582 MB / 289.9 MB, free: 27.94 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004995/0.1895, allocations: 266 kB / 290.1 MB, free: 27.91 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003479/0.1898, allocations: 225.3 kB / 290.3 MB, free: 27.9 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/0.1898, allocations: 7.719 kB / 290.3 MB, free: 27.9 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.1899, allocations: 43.36 kB / 290.4 MB, free: 27.86 MB / 266.7 MB Notification: Performance of pre-optimization done (n=42): time 1.784e-06/0.1899, allocations: 0 / 290.4 MB, free: 27.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=42): time 0.001472/0.1913, allocations: 0.586 MB / 291 MB, free: 27.81 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.623e-05/0.1914, allocations: 59.77 kB / 291 MB, free: 27.75 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005396/0.1919, allocations: 0.4995 MB / 291.5 MB, free: 27.62 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.895e-05/0.1919, allocations: 31.95 kB / 291.6 MB, free: 27.59 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002202/0.1922, allocations: 0.4993 MB / 292.1 MB, free: 27.27 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.961e-05/0.1922, allocations: 161.9 kB / 292.2 MB, free: 27.17 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001734/0.1924, allocations: 132.4 kB / 292.4 MB, free: 27.09 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.595e-05/0.1925, allocations: 363.5 kB / 292.7 MB, free: 26.76 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002885/0.1928, allocations: 172.5 kB / 292.9 MB, free: 26.7 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003876/0.1932, allocations: 458.5 kB / 293.3 MB, free: 26.29 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000646/0.1938, allocations: 0.647 MB / 294 MB, free: 25.78 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.623e-06/0.1938, allocations: 3.625 kB / 294 MB, free: 25.78 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001167/0.195, allocations: 0.7907 MB / 294.8 MB, free: 25.43 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.195, allocations: 9.062 kB / 294.8 MB, free: 25.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/0.195, allocations: 13.25 kB / 294.8 MB, free: 25.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004053/0.1954, allocations: 99.95 kB / 294.9 MB, free: 25.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006522/0.1961, allocations: 196.6 kB / 295.1 MB, free: 25.39 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001492/0.1976, allocations: 1.87 MB / 296.9 MB, free: 23.79 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004734/0.1981, allocations: 82.33 kB / 297 MB, free: 23.74 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.687e-05/0.1981, allocations: 33 kB / 297.1 MB, free: 23.73 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.0002566/0.1984, allocations: 219.3 kB / 297.3 MB, free: 23.55 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.778e-05/0.1985, allocations: 76.48 kB / 297.3 MB, free: 23.52 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.263e-05/0.1986, allocations: 63.58 kB / 297.4 MB, free: 23.47 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.1986, allocations: 5.172 kB / 297.4 MB, free: 23.47 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.226e-05/0.1986, allocations: 2.312 kB / 297.4 MB, free: 23.47 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.1986, allocations: 2.344 kB / 297.4 MB, free: 23.47 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006318/0.1992, allocations: 463.1 kB / 297.9 MB, free: 23.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.1992, allocations: 1.062 kB / 297.9 MB, free: 23.21 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004208/0.1996, allocations: 95.84 kB / 298 MB, free: 23.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003164/0.2, allocations: 92.55 kB / 298.1 MB, free: 23.19 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.415e-05/0.2, allocations: 7.938 kB / 298.1 MB, free: 23.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001406/0.2014, allocations: 1.86 MB / 299.9 MB, free: 21.58 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.2014, allocations: 0 / 299.9 MB, free: 21.58 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/0.2024, allocations: 0.666 MB / 300.6 MB, free: 21.22 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.043e-05/0.2025, allocations: 57.83 kB / 300.6 MB, free: 21.18 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.91e-05/0.2026, allocations: 16.02 kB / 300.7 MB, free: 21.17 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003736/0.2029, allocations: 40.62 kB / 300.7 MB, free: 21.17 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.35e-05/0.203, allocations: 30.48 kB / 300.7 MB, free: 21.16 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.829e-05/0.203, allocations: 14.38 kB / 300.7 MB, free: 21.16 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003819/0.2034, allocations: 328.1 kB / 301.1 MB, free: 21 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2034, allocations: 1.375 kB / 301.1 MB, free: 21 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008567/0.2043, allocations: 249.4 kB / 301.3 MB, free: 20.94 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.0001229/0.2044, allocations: 118 kB / 301.4 MB, free: 20.84 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009151/0.2053, allocations: 0.56 MB / 302 MB, free: 20.57 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.2053, allocations: 0 / 302 MB, free: 20.57 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004219/0.2057, allocations: 311.5 kB / 302.3 MB, free: 20.39 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005348/0.2063, allocations: 102.7 kB / 302.4 MB, free: 20.35 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001974/0.2083, allocations: 1.307 MB / 303.7 MB, free: 19.57 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003932/0.2086, allocations: 335.9 kB / 304 MB, free: 19.46 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002998/0.2089, allocations: 64.67 kB / 304.1 MB, free: 19.45 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.2091, allocations: 38.75 kB / 304.1 MB, free: 19.44 MB / 266.7 MB Notification: Performance of SimCode: time 1.282e-06/0.2091, allocations: 0 / 304.1 MB, free: 19.44 MB / 266.7 MB Notification: Performance of Templates: time 0.01167/0.2207, allocations: 6.749 MB / 310.9 MB, free: 15.16 MB / 266.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=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.568843637011014]