Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000975/0.000975, allocations: 78.97 kB / 21.42 MB, free: 3.078 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 149 kB / 24.81 MB, free: 9.27 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.044/1.044, allocations: 173.3 MB / 201.4 MB, free: 9.234 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 268.4 MB, free: 6.176 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.258e-06/1.063e-05, allocations: 6.312 kB / 268.5 MB, free: 6.168 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.005079/0.005089, allocations: 5.56 MB / 274 MB, free: 0.5781 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002065/0.007154, allocations: 1.153 MB / 275.2 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004249/0.007579, allocations: 19.94 kB / 275.2 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000322/0.007901, allocations: 170.4 kB / 275.4 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005225/0.008423, allocations: 297.2 kB / 275.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004238/0.008847, allocations: 227.6 kB / 275.9 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008441/0.009691, allocations: 1.102 MB / 277 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004566/0.01015, allocations: 383 kB / 277.3 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006288/0.01078, allocations: 0.6316 MB / 278 MB, free: 12.58 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004044/0.01118, allocations: 378.9 kB / 278.3 MB, free: 12.21 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001059/0.01129, allocations: 96 kB / 278.4 MB, free: 12.11 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001068/0.01139, allocations: 96 kB / 278.5 MB, free: 12.02 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001138/0.01151, allocations: 235.1 kB / 278.8 MB, free: 11.79 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002688/0.01178, allocations: 363.2 kB / 279.1 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005871/0.01236, allocations: 0.7161 MB / 279.8 MB, free: 10.71 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.01237, allocations: 0 / 279.8 MB, free: 10.71 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.01237, allocations: 0 / 279.8 MB, free: 10.71 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.304e-05/0.01238, allocations: 4 kB / 279.8 MB, free: 10.71 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.001199/0.01358, allocations: 1.294 MB / 281.1 MB, free: 9.375 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.01362, allocations: 12.91 kB / 281.1 MB, free: 9.363 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001653/0.01378, allocations: 184.3 kB / 281.3 MB, free: 9.184 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003798/0.01416, allocations: 399.6 kB / 281.7 MB, free: 8.766 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.126e-05/0.01421, allocations: 74.38 kB / 281.8 MB, free: 8.695 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.885e-05/0.01428, allocations: 96.38 kB / 281.9 MB, free: 8.602 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007106/0.015, allocations: 0.9346 MB / 282.8 MB, free: 7.562 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.01501, allocations: 4.188 kB / 282.8 MB, free: 7.559 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.043e-05/0.01505, allocations: 36.38 kB / 282.9 MB, free: 7.523 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.634e-05/0.01507, allocations: 27.94 kB / 282.9 MB, free: 7.496 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002927/0.01536, allocations: 273.7 kB / 283.1 MB, free: 7.23 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002565/0.01793, allocations: 2.801 MB / 285.9 MB, free: 4.316 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000208/0.01814, allocations: 198.7 kB / 286.1 MB, free: 4.109 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001464/0.01828, allocations: 168.1 kB / 286.3 MB, free: 3.941 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.814e-05/0.0183, allocations: 8 kB / 286.3 MB, free: 3.934 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.01833, allocations: 45.39 kB / 286.4 MB, free: 3.879 MB / 266.7 MB Notification: Performance of pre-optimization done (n=42): time 1.783e-06/0.01833, allocations: 0 / 286.4 MB, free: 3.879 MB / 266.7 MB Notification: Performance of matching and sorting (n=42): time 0.0006946/0.01902, allocations: 440.6 kB / 286.8 MB, free: 3.438 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.398e-05/0.01905, allocations: 59.34 kB / 286.8 MB, free: 3.367 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002941/0.01934, allocations: 0.502 MB / 287.3 MB, free: 2.848 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.681e-05/0.01937, allocations: 37.7 kB / 287.4 MB, free: 2.805 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002401/0.01961, allocations: 0.5408 MB / 287.9 MB, free: 2.254 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.571e-05/0.0197, allocations: 166.6 kB / 288.1 MB, free: 2.09 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/0.01982, allocations: 144.2 kB / 288.2 MB, free: 1.941 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.01996, allocations: 0.539 MB / 288.8 MB, free: 1.391 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.976e-05/0.02005, allocations: 77.92 kB / 288.8 MB, free: 1.312 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000248/0.0203, allocations: 481.4 kB / 289.3 MB, free: 0.668 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1024/0.1227, allocations: 0.6092 MB / 289.9 MB, free: 29.14 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-05/0.1227, allocations: 3.938 kB / 289.9 MB, free: 29.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0007897/0.1235, allocations: 0.5953 MB / 290.5 MB, free: 29.09 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.1235, allocations: 9.531 kB / 290.5 MB, free: 29.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.1235, allocations: 8.25 kB / 290.5 MB, free: 29.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002698/0.1238, allocations: 88.94 kB / 290.6 MB, free: 29.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003778/0.1242, allocations: 194.7 kB / 290.8 MB, free: 29.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001059/0.1252, allocations: 2.26 MB / 293.1 MB, free: 27.13 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003/0.1255, allocations: 84.7 kB / 293.2 MB, free: 27.13 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.637e-05/0.1256, allocations: 32.03 kB / 293.2 MB, free: 27.13 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.000155/0.1257, allocations: 208.3 kB / 293.4 MB, free: 26.96 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.581e-05/0.1258, allocations: 72.91 kB / 293.5 MB, free: 26.95 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.747e-05/0.1259, allocations: 63.06 kB / 293.5 MB, free: 26.94 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.1259, allocations: 4.219 kB / 293.5 MB, free: 26.94 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.1259, allocations: 6.125 kB / 293.5 MB, free: 26.94 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.1259, allocations: 2.203 kB / 293.5 MB, free: 26.94 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003597/0.1262, allocations: 361.9 kB / 293.9 MB, free: 26.82 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1262, allocations: 0 / 293.9 MB, free: 26.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002286/0.1265, allocations: 93.66 kB / 294 MB, free: 26.82 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001918/0.1267, allocations: 90.39 kB / 294.1 MB, free: 26.8 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.88e-05/0.1267, allocations: 6.859 kB / 294.1 MB, free: 26.8 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008216/0.1275, allocations: 2.253 MB / 296.3 MB, free: 24.84 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1275, allocations: 0 / 296.3 MB, free: 24.84 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004539/0.1279, allocations: 0.5342 MB / 296.9 MB, free: 24.61 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.901e-05/0.128, allocations: 60.98 kB / 296.9 MB, free: 24.57 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.202e-05/0.128, allocations: 6.156 kB / 296.9 MB, free: 24.57 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001931/0.1282, allocations: 48.28 kB / 297 MB, free: 24.57 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.065e-05/0.1283, allocations: 30.8 kB / 297 MB, free: 24.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.69e-05/0.1283, allocations: 12.58 kB / 297 MB, free: 24.57 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001802/0.1285, allocations: 305.7 kB / 297.3 MB, free: 24.44 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1285, allocations: 0 / 297.3 MB, free: 24.44 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006409/0.1291, allocations: 249.6 kB / 297.6 MB, free: 24.41 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.0001186/0.1292, allocations: 111.7 kB / 297.7 MB, free: 24.32 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005712/0.1298, allocations: 0.5145 MB / 298.2 MB, free: 24.09 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.1298, allocations: 0 / 298.2 MB, free: 24.09 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000245/0.1301, allocations: 339.6 kB / 298.5 MB, free: 23.88 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003559/0.1304, allocations: 97.5 kB / 298.6 MB, free: 23.88 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00167/0.1321, allocations: 1.267 MB / 299.9 MB, free: 23.17 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000122/0.1322, allocations: 146.5 kB / 300 MB, free: 23.1 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002083/0.1324, allocations: 66.36 kB / 300.1 MB, free: 23.08 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002662/0.1327, allocations: 215 kB / 300.3 MB, free: 23.02 MB / 266.7 MB Notification: Performance of SimCode: time 9.62e-07/0.1327, allocations: 0 / 300.3 MB, free: 23.02 MB / 266.7 MB Notification: Performance of Templates: time 0.01109/0.1438, allocations: 7.256 MB / 307.6 MB, free: 20.91 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 3.0985785759985447]