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.0009487/0.0009487, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.001029/0.001029, allocations: 160.9 kB / 24.91 MB, free: 8.719 MB / 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 0.9511/0.9511, allocations: 177 MB / 205.2 MB, free: 5.031 MB / 186.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.303e-06/1.303e-06, allocations: 0 / 273.4 MB, free: 1.008 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.702e-05/1.833e-05, allocations: 5.266 kB / 273.4 MB, free: 1.004 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.00447/0.004489, allocations: 5.578 MB / 279 MB, free: 11.39 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002155/0.006644, allocations: 1.242 MB / 280.3 MB, free: 10.14 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003376/0.006981, allocations: 23.94 kB / 280.3 MB, free: 10.12 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002703/0.007252, allocations: 174.3 kB / 280.4 MB, free: 9.945 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000409/0.007661, allocations: 289.2 kB / 280.7 MB, free: 9.66 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003571/0.008018, allocations: 231.6 kB / 281 MB, free: 9.434 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007489/0.008767, allocations: 1.11 MB / 282.1 MB, free: 8.316 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004001/0.009167, allocations: 391 kB / 282.4 MB, free: 7.91 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005368/0.009703, allocations: 0.6355 MB / 283.1 MB, free: 7.273 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003732/0.01008, allocations: 378.9 kB / 283.5 MB, free: 6.902 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.896e-05/0.01018, allocations: 100 kB / 283.6 MB, free: 6.805 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.976e-05/0.01027, allocations: 96 kB / 283.6 MB, free: 6.711 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001141/0.01038, allocations: 223.2 kB / 283.9 MB, free: 6.492 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000236/0.01062, allocations: 371.2 kB / 284.2 MB, free: 6.129 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005277/0.01114, allocations: 0.7161 MB / 284.9 MB, free: 5.41 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.01115, allocations: 0 / 284.9 MB, free: 5.41 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.01115, allocations: 0 / 284.9 MB, free: 5.41 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.568e-06/0.01116, allocations: 0 / 284.9 MB, free: 5.41 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.001078/0.01223, allocations: 1.181 MB / 286.1 MB, free: 4.199 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.01227, allocations: 11.98 kB / 286.1 MB, free: 4.188 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001417/0.01241, allocations: 148.8 kB / 286.3 MB, free: 4.043 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003341/0.01274, allocations: 308.9 kB / 286.6 MB, free: 3.715 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.707e-05/0.01278, allocations: 70.38 kB / 286.7 MB, free: 3.648 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.01289, allocations: 100.4 kB / 286.7 MB, free: 3.551 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006855/0.01357, allocations: 0.9414 MB / 287.7 MB, free: 2.512 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.01359, allocations: 192 / 287.7 MB, free: 2.512 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.94e-05/0.01363, allocations: 36.38 kB / 287.7 MB, free: 2.477 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.467e-05/0.01364, allocations: 27.94 kB / 287.8 MB, free: 2.449 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002534/0.01389, allocations: 237.8 kB / 288 MB, free: 2.219 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1073/0.1212, allocations: 2.301 MB / 290.3 MB, free: 26.08 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002623/0.1215, allocations: 171.4 kB / 290.5 MB, free: 26.06 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001462/0.1216, allocations: 154.5 kB / 290.6 MB, free: 26.05 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.1217, allocations: 8.375 kB / 290.6 MB, free: 26.05 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.1217, allocations: 38.75 kB / 290.7 MB, free: 26.01 MB / 266.7 MB Notification: Performance of pre-optimization done (n=42): time 2.093e-06/0.1217, allocations: 1.625 kB / 290.7 MB, free: 26.01 MB / 266.7 MB Notification: Performance of matching and sorting (n=42): time 0.0007129/0.1224, allocations: 364.5 kB / 291 MB, free: 25.96 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.767e-05/0.1224, allocations: 58.3 kB / 291.1 MB, free: 25.89 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002994/0.1227, allocations: 456.3 kB / 291.5 MB, free: 25.77 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/0.1227, allocations: 33.83 kB / 291.5 MB, free: 25.74 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000156/0.1229, allocations: 474.8 kB / 292 MB, free: 25.54 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.021e-05/0.123, allocations: 164.4 kB / 292.2 MB, free: 25.46 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/0.1231, allocations: 142.3 kB / 292.3 MB, free: 25.43 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.994e-05/0.1231, allocations: 369.4 kB / 292.7 MB, free: 25.12 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.903e-05/0.1232, allocations: 68.02 kB / 292.7 MB, free: 25.11 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001596/0.1234, allocations: 360.7 kB / 293.1 MB, free: 24.78 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003185/0.1237, allocations: 0.49 MB / 293.6 MB, free: 24.46 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.042e-06/0.1237, allocations: 2.188 kB / 293.6 MB, free: 24.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.000522/0.1242, allocations: 499.1 kB / 294.1 MB, free: 24.37 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.1242, allocations: 10.58 kB / 294.1 MB, free: 24.37 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.1243, allocations: 13.53 kB / 294.1 MB, free: 24.37 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002314/0.1245, allocations: 80.59 kB / 294.2 MB, free: 24.36 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000345/0.1248, allocations: 195.9 kB / 294.4 MB, free: 24.35 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008261/0.1257, allocations: 1.594 MB / 296 MB, free: 23.05 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002621/0.1259, allocations: 84.2 kB / 296 MB, free: 23.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.475e-05/0.1259, allocations: 30.41 kB / 296.1 MB, free: 23.02 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.0001153/0.1261, allocations: 159.3 kB / 296.2 MB, free: 22.88 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.24e-05/0.1261, allocations: 48.28 kB / 296.3 MB, free: 22.88 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.758e-05/0.1262, allocations: 62.61 kB / 296.3 MB, free: 22.88 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.1262, allocations: 5.047 kB / 296.3 MB, free: 22.88 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.1262, allocations: 1.781 kB / 296.3 MB, free: 22.88 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.1262, allocations: 5.812 kB / 296.3 MB, free: 22.87 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000338/0.1265, allocations: 326.4 kB / 296.7 MB, free: 22.78 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.1265, allocations: 0.8906 kB / 296.7 MB, free: 22.78 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002253/0.1268, allocations: 98.39 kB / 296.8 MB, free: 22.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001716/0.1269, allocations: 75.09 kB / 296.8 MB, free: 22.76 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.659e-05/0.1269, allocations: 11.38 kB / 296.8 MB, free: 22.76 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000688/0.1276, allocations: 1.571 MB / 298.4 MB, free: 21.46 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1276, allocations: 0 / 298.4 MB, free: 21.46 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003766/0.128, allocations: 432.7 kB / 298.8 MB, free: 21.3 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.269e-05/0.1281, allocations: 45.94 kB / 298.9 MB, free: 21.27 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.381e-05/0.1281, allocations: 7.047 kB / 298.9 MB, free: 21.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000179/0.1283, allocations: 48.19 kB / 298.9 MB, free: 21.26 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.999e-05/0.1283, allocations: 33.05 kB / 299 MB, free: 21.26 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/0.1283, allocations: 13.53 kB / 299 MB, free: 21.26 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001399/0.1285, allocations: 183.6 kB / 299.2 MB, free: 21.24 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.1285, allocations: 0 / 299.2 MB, free: 21.24 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004924/0.129, allocations: 252.7 kB / 299.4 MB, free: 21.19 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 9.51e-05/0.1291, allocations: 94.91 kB / 299.5 MB, free: 21.11 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004522/0.1295, allocations: 456.1 kB / 299.9 MB, free: 20.95 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-05/0.1295, allocations: 12.06 kB / 300 MB, free: 20.95 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000214/0.1297, allocations: 268.2 kB / 300.2 MB, free: 20.8 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002953/0.13, allocations: 101.6 kB / 300.3 MB, free: 20.8 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/0.1313, allocations: 1.173 MB / 301.5 MB, free: 20.16 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.119e-05/0.1314, allocations: 146.6 kB / 301.6 MB, free: 20.09 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000149/0.1316, allocations: 60.78 kB / 301.7 MB, free: 20.08 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002294/0.1318, allocations: 191.4 kB / 301.9 MB, free: 20.02 MB / 266.7 MB Notification: Performance of SimCode: time 7.02e-07/0.1318, allocations: 0 / 301.9 MB, free: 20.02 MB / 266.7 MB Notification: Performance of Templates: time 0.008872/0.1407, allocations: 7.24 MB / 309.1 MB, free: 16.63 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=240 -emit_protected -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.9512393842451274]