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.001618/0.001619, allocations: 119.5 kB / 18.41 MB, free: 4.684 MB / 14.72 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.001633/0.001633, allocations: 192.3 kB / 21.35 MB, free: 1.75 MB / 14.72 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.45/1.45, allocations: 222.9 MB / 247.1 MB, free: 4.211 MB / 190.1 MB " [Timeout remaining time 178] 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 0.001579/0.001579, allocations: 51.92 kB / 358.7 MB, free: 8.312 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1038, allocations: 49.44 MB / 408.2 MB, free: 6.832 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.006982/0.1108, allocations: 5.758 MB / 413.9 MB, free: 1.051 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002675/0.1135, allocations: 1.157 MB / 415.1 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005554/0.1141, allocations: 23.94 kB / 415.1 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004492/0.1146, allocations: 170.4 kB / 415.3 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007072/0.1153, allocations: 269.5 kB / 415.5 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005314/0.1158, allocations: 227.7 kB / 415.7 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001269/0.1171, allocations: 1.064 MB / 416.8 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007595/0.1179, allocations: 0.5142 MB / 417.3 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005132/0.1184, allocations: 418.6 kB / 417.7 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006084/0.119, allocations: 465.9 kB / 418.2 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001416/0.1192, allocations: 100 kB / 418.3 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001638/0.1194, allocations: 96 kB / 418.4 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001911/0.1196, allocations: 227.2 kB / 418.6 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004802/0.12, allocations: 0.4977 MB / 419.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001157/0.1212, allocations: 1.113 MB / 420.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.1212, allocations: 0 / 420.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1212, allocations: 0 / 420.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.491e-05/0.1213, allocations: 4 kB / 420.2 MB, free: 10.7 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.002056/0.1233, allocations: 1.262 MB / 421.5 MB, free: 9.383 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.1234, allocations: 8.031 kB / 421.5 MB, free: 9.375 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001714/0.1235, allocations: 112.3 kB / 421.6 MB, free: 9.266 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006855/0.1242, allocations: 471.4 kB / 422.1 MB, free: 8.766 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.326e-05/0.1243, allocations: 66.38 kB / 422.1 MB, free: 8.703 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001293/0.1244, allocations: 100.3 kB / 422.2 MB, free: 8.605 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001418/0.1259, allocations: 0.8755 MB / 423.1 MB, free: 7.703 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.054e-05/0.1259, allocations: 0 / 423.1 MB, free: 7.703 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.898e-05/0.126, allocations: 44 kB / 423.1 MB, free: 7.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.034e-05/0.126, allocations: 20 kB / 423.2 MB, free: 7.641 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001031/0.127, allocations: 0.5661 MB / 423.7 MB, free: 7.074 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004523/0.1316, allocations: 2.958 MB / 426.7 MB, free: 3.996 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004647/0.1321, allocations: 290.5 kB / 427 MB, free: 3.703 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003938/0.1325, allocations: 269.5 kB / 427.2 MB, free: 3.438 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.891e-05/0.1325, allocations: 8 kB / 427.2 MB, free: 3.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.399e-05/0.1326, allocations: 34.56 kB / 427.3 MB, free: 3.387 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 2.214e-06/0.1326, allocations: 7.938 kB / 427.3 MB, free: 3.379 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.001579/0.1341, allocations: 0.6552 MB / 427.9 MB, free: 2.695 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.1342, allocations: 59.39 kB / 428 MB, free: 2.625 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006338/0.1348, allocations: 0.5142 MB / 428.5 MB, free: 2.102 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.752e-05/0.1349, allocations: 33.7 kB / 428.5 MB, free: 2.062 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003449/0.1353, allocations: 0.4914 MB / 429 MB, free: 1.562 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001388/0.1354, allocations: 162.6 kB / 429.2 MB, free: 1.402 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002011/0.1356, allocations: 138.6 kB / 429.3 MB, free: 1.258 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001767/0.1358, allocations: 374.7 kB / 429.7 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003256/0.1361, allocations: 165.9 kB / 429.9 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005167/0.1367, allocations: 449.6 kB / 430.3 MB, free: 160 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1914/0.3281, allocations: 0.6516 MB / 430.9 MB, free: 21.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.568e-06/0.3281, allocations: 2.219 kB / 430.9 MB, free: 21.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001122/0.3292, allocations: 0.7634 MB / 431.7 MB, free: 21.38 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.3293, allocations: 7.656 kB / 431.7 MB, free: 21.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/0.3293, allocations: 8.812 kB / 431.7 MB, free: 21.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003086/0.3296, allocations: 84.05 kB / 431.8 MB, free: 21.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006385/0.3302, allocations: 199 kB / 432 MB, free: 21.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001566/0.3318, allocations: 2.005 MB / 434 MB, free: 19.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004848/0.3323, allocations: 83.73 kB / 434.1 MB, free: 19.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.246e-05/0.3324, allocations: 38.56 kB / 434.1 MB, free: 19.86 MB / 350.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.000248/0.3326, allocations: 216.1 kB / 434.3 MB, free: 19.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.057e-05/0.3327, allocations: 58.94 kB / 434.4 MB, free: 19.72 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001027/0.3328, allocations: 67.14 kB / 434.5 MB, free: 19.71 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.3328, allocations: 4.375 kB / 434.5 MB, free: 19.71 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.959e-06/0.3328, allocations: 5.156 kB / 434.5 MB, free: 19.71 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.3329, allocations: 3 kB / 434.5 MB, free: 19.71 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006153/0.3335, allocations: 0.6457 MB / 435.1 MB, free: 19.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.3335, allocations: 0.8438 kB / 435.1 MB, free: 19.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003999/0.3339, allocations: 107.1 kB / 435.2 MB, free: 19.51 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000205/0.3341, allocations: 66.25 kB / 435.3 MB, free: 19.5 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.493e-05/0.3342, allocations: 11.03 kB / 435.3 MB, free: 19.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00141/0.3356, allocations: 1.984 MB / 437.3 MB, free: 17.98 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3356, allocations: 2.812 kB / 437.3 MB, free: 17.98 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009928/0.3366, allocations: 0.6619 MB / 437.9 MB, free: 17.79 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.62e-05/0.3367, allocations: 141.5 kB / 438.1 MB, free: 17.66 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.469e-05/0.3368, allocations: 12.55 kB / 438.1 MB, free: 17.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003909/0.3372, allocations: 43.17 kB / 438.1 MB, free: 17.66 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.039e-05/0.3373, allocations: 26.95 kB / 438.2 MB, free: 17.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-05/0.3373, allocations: 19.42 kB / 438.2 MB, free: 17.66 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000396/0.3377, allocations: 348 kB / 438.5 MB, free: 17.57 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3377, allocations: 0 / 438.5 MB, free: 17.57 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000771/0.3385, allocations: 249.4 kB / 438.8 MB, free: 17.55 MB / 350.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.0001348/0.3386, allocations: 121.1 kB / 438.9 MB, free: 17.46 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001014/0.3396, allocations: 0.5903 MB / 439.5 MB, free: 17.3 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.3397, allocations: 1.562 kB / 439.5 MB, free: 17.3 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004359/0.3401, allocations: 320.2 kB / 439.8 MB, free: 17.17 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005443/0.3407, allocations: 115 kB / 439.9 MB, free: 17.16 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002019/0.3427, allocations: 1.455 MB / 441.4 MB, free: 16.39 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003805/0.3431, allocations: 0.9316 MB / 442.3 MB, free: 15.68 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001336/0.3432, allocations: 43.41 kB / 442.3 MB, free: 15.67 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3432, allocations: 1.188 kB / 442.3 MB, free: 15.67 MB / 350.1 MB Notification: Performance of Templates: time 0.01726/0.3605, allocations: 11.05 MB / 453.4 MB, free: 12.53 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.359887577942573]