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.0008254/0.0008254, allocations: 84 kB / 21.43 MB, free: 3.133 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.00659/0.00659, allocations: 148.3 kB / 24.68 MB, free: 9.434 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 0.8401/0.8401, allocations: 173.4 MB / 201.2 MB, free: 9.422 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 2.084e-06/2.084e-06, allocations: 0 / 319.7 MB, free: 5.789 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.037e-05/3.245e-05, allocations: 2.281 kB / 319.7 MB, free: 5.785 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.005951/0.005983, allocations: 5.053 MB / 324.8 MB, free: 0.707 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002723/0.008706, allocations: 1.157 MB / 326 MB, free: 15.54 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006266/0.009333, allocations: 19.94 kB / 326 MB, free: 15.52 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003751/0.009708, allocations: 174.3 kB / 326.1 MB, free: 15.35 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006382/0.01035, allocations: 297.2 kB / 326.4 MB, free: 15.06 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004964/0.01084, allocations: 219.6 kB / 326.6 MB, free: 14.84 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00111/0.01195, allocations: 1.113 MB / 327.8 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005705/0.01252, allocations: 379 kB / 328.1 MB, free: 13.33 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009/0.01342, allocations: 0.6316 MB / 328.8 MB, free: 12.7 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003286/0.01375, allocations: 342.9 kB / 329.1 MB, free: 12.36 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.414e-05/0.01385, allocations: 100 kB / 329.2 MB, free: 12.27 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.251e-05/0.01394, allocations: 96 kB / 329.3 MB, free: 12.17 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.01404, allocations: 223.2 kB / 329.5 MB, free: 11.95 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002154/0.01425, allocations: 367.1 kB / 329.9 MB, free: 11.59 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007536/0.01501, allocations: 1.133 MB / 331 MB, free: 10.46 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.01501, allocations: 0 / 331 MB, free: 10.46 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.01501, allocations: 0 / 331 MB, free: 10.46 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.772e-05/0.01503, allocations: 0 / 331 MB, free: 10.46 MB / 298.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.00126/0.01629, allocations: 1.17 MB / 332.2 MB, free: 9.258 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.01633, allocations: 8.922 kB / 332.2 MB, free: 9.25 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001144/0.01644, allocations: 112.3 kB / 332.3 MB, free: 9.141 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004916/0.01693, allocations: 404.8 kB / 332.7 MB, free: 8.719 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.714e-05/0.01697, allocations: 66.38 kB / 332.7 MB, free: 8.652 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.135e-05/0.01705, allocations: 100.3 kB / 332.8 MB, free: 8.555 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009273/0.01798, allocations: 1.144 MB / 334 MB, free: 7.32 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.018, allocations: 192 / 334 MB, free: 7.32 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.748e-05/0.01804, allocations: 44.38 kB / 334 MB, free: 7.277 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.54e-05/0.01806, allocations: 27.94 kB / 334.1 MB, free: 7.25 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006311/0.01869, allocations: 0.566 MB / 334.6 MB, free: 6.68 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00259/0.02128, allocations: 2.558 MB / 337.2 MB, free: 4.023 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002904/0.02157, allocations: 258.5 kB / 337.4 MB, free: 3.762 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002116/0.02178, allocations: 222.6 kB / 337.7 MB, free: 3.543 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.0218, allocations: 7.938 kB / 337.7 MB, free: 3.535 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/0.02183, allocations: 42.34 kB / 337.7 MB, free: 3.484 MB / 298.7 MB Notification: Performance of pre-optimization done (n=42): time 2.234e-06/0.02183, allocations: 0 / 337.7 MB, free: 3.484 MB / 298.7 MB Notification: Performance of matching and sorting (n=42): time 0.0008989/0.02273, allocations: 0.5715 MB / 338.3 MB, free: 2.902 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/0.02277, allocations: 55.41 kB / 338.3 MB, free: 2.836 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000375/0.02315, allocations: 0.5015 MB / 338.8 MB, free: 2.324 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.687e-05/0.02317, allocations: 33.7 kB / 338.9 MB, free: 2.285 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002078/0.02338, allocations: 499.2 kB / 339.3 MB, free: 1.789 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.151e-05/0.02345, allocations: 162.6 kB / 339.5 MB, free: 1.629 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.02356, allocations: 134.5 kB / 339.6 MB, free: 1.492 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.956e-05/0.02366, allocations: 374.7 kB / 340 MB, free: 1.117 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001858/0.02384, allocations: 169.9 kB / 340.2 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002902/0.02413, allocations: 449.6 kB / 340.6 MB, free: 388 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005113/0.02465, allocations: 0.6472 MB / 341.3 MB, free: 15.6 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.02465, allocations: 4 kB / 341.3 MB, free: 15.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0007203/0.02537, allocations: 0.7517 MB / 342 MB, free: 14.84 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.02539, allocations: 8 kB / 342 MB, free: 14.83 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.0254, allocations: 8 kB / 342 MB, free: 14.82 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002093/0.02561, allocations: 93.08 kB / 342.1 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003572/0.02597, allocations: 195.7 kB / 342.3 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001478/0.02744, allocations: 1.856 MB / 344.2 MB, free: 12.58 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002349/0.02768, allocations: 95.3 kB / 344.3 MB, free: 12.48 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.612e-05/0.0277, allocations: 36 kB / 344.3 MB, free: 12.45 MB / 314.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.0001894/0.02789, allocations: 209.5 kB / 344.5 MB, free: 12.23 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.36e-05/0.02795, allocations: 67.58 kB / 344.6 MB, free: 12.17 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.688e-05/0.02799, allocations: 61.55 kB / 344.6 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.028, allocations: 8 kB / 344.6 MB, free: 12.1 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.852e-06/0.028, allocations: 4 kB / 344.6 MB, free: 12.1 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.02801, allocations: 7.922 kB / 344.6 MB, free: 12.09 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00036/0.02837, allocations: 456.8 kB / 345.1 MB, free: 11.61 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.02837, allocations: 0 / 345.1 MB, free: 11.61 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002121/0.02858, allocations: 99.86 kB / 345.2 MB, free: 11.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001297/0.02871, allocations: 72.75 kB / 345.3 MB, free: 11.44 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.02873, allocations: 11.98 kB / 345.3 MB, free: 11.43 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00104/0.02977, allocations: 1.837 MB / 347.1 MB, free: 9.484 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.02977, allocations: 3.938 kB / 347.1 MB, free: 9.48 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005634/0.03033, allocations: 0.6625 MB / 347.8 MB, free: 8.801 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.122e-05/0.03039, allocations: 59.61 kB / 347.8 MB, free: 8.742 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.065e-05/0.03042, allocations: 8 kB / 347.8 MB, free: 8.734 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001771/0.03059, allocations: 44.03 kB / 347.9 MB, free: 8.691 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.151e-05/0.03064, allocations: 39.94 kB / 347.9 MB, free: 8.652 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.885e-05/0.03066, allocations: 15.98 kB / 347.9 MB, free: 8.637 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002123/0.03088, allocations: 322.9 kB / 348.3 MB, free: 8.324 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03088, allocations: 3.938 kB / 348.3 MB, free: 8.32 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004805/0.03136, allocations: 251.3 kB / 348.5 MB, free: 8.074 MB / 314.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.0001139/0.03147, allocations: 122.4 kB / 348.6 MB, free: 7.949 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006144/0.03208, allocations: 0.5574 MB / 349.2 MB, free: 7.379 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.03209, allocations: 0 / 349.2 MB, free: 7.379 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002557/0.03234, allocations: 302.4 kB / 349.5 MB, free: 7.07 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003484/0.03269, allocations: 102.5 kB / 349.6 MB, free: 6.973 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001594/0.03429, allocations: 1.328 MB / 350.9 MB, free: 5.605 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00018/0.03447, allocations: 335.9 kB / 351.2 MB, free: 5.25 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.209e-05/0.03455, allocations: 44.5 kB / 351.3 MB, free: 5.203 MB / 314.7 MB Notification: Performance of SimCode: time 6.91e-07/0.03455, allocations: 0 / 351.3 MB, free: 5.203 MB / 314.7 MB Notification: Performance of Templates: time 0.008695/0.04324, allocations: 11.12 MB / 362.4 MB, free: 10.08 MB / 330.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=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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 4.772786643356085]