Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001859/0.001859, allocations: 107.2 kB / 20.44 MB, free: 1.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 211.4 kB / 23.73 MB, free: 4.41 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.475/1.475, allocations: 230.6 MB / 257.5 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001603/0.001603, allocations: 47.92 kB / 378.3 MB, free: 2.402 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2539/0.2555, allocations: 53.37 MB / 431.6 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.007455/0.263, allocations: 5.09 MB / 436.7 MB, free: 1.574 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002871/0.2658, allocations: 1.165 MB / 437.9 MB, free: 412 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007254/0.2665, allocations: 27.88 kB / 437.9 MB, free: 384 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004777/0.267, allocations: 166.4 kB / 438.1 MB, free: 216 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007115/0.2677, allocations: 285.4 kB / 438.4 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005149/0.2683, allocations: 223.7 kB / 438.6 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001251/0.2695, allocations: 1.06 MB / 439.6 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006544/0.2702, allocations: 390.5 kB / 440 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004983/0.2707, allocations: 422.6 kB / 440.4 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005846/0.2712, allocations: 397.9 kB / 440.8 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001476/0.2714, allocations: 100 kB / 440.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001811/0.2716, allocations: 96 kB / 441 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002246/0.2718, allocations: 231.2 kB / 441.2 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004516/0.2722, allocations: 426.2 kB / 441.6 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001249/0.2735, allocations: 1.115 MB / 442.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.2735, allocations: 0 / 442.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.2735, allocations: 4 kB / 442.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.258e-05/0.2735, allocations: 0 / 442.8 MB, free: 11.48 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.002262/0.2758, allocations: 1.179 MB / 443.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/0.2758, allocations: 12.03 kB / 444 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001922/0.276, allocations: 108.3 kB / 444.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008442/0.2769, allocations: 405.5 kB / 444.5 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.838e-05/0.2769, allocations: 66.38 kB / 444.5 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001499/0.2771, allocations: 104.3 kB / 444.6 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0016/0.2787, allocations: 1.144 MB / 445.8 MB, free: 8.324 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.782e-05/0.2787, allocations: 0 / 445.8 MB, free: 8.324 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.305e-05/0.2788, allocations: 44 kB / 445.8 MB, free: 8.281 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.175e-05/0.2788, allocations: 28 kB / 445.8 MB, free: 8.254 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001081/0.2799, allocations: 0.5622 MB / 446.4 MB, free: 7.695 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004355/0.2843, allocations: 2.557 MB / 449 MB, free: 5.035 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004918/0.2847, allocations: 269.7 kB / 449.2 MB, free: 4.766 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005924/0.2853, allocations: 221.2 kB / 449.4 MB, free: 4.547 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.056e-05/0.2854, allocations: 7.984 kB / 449.4 MB, free: 4.539 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.468e-05/0.2854, allocations: 38.56 kB / 449.5 MB, free: 4.492 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 1.924e-06/0.2854, allocations: 0 / 449.5 MB, free: 4.492 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.001487/0.2869, allocations: 0.5759 MB / 450.1 MB, free: 3.906 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.807e-05/0.2869, allocations: 55.41 kB / 450.1 MB, free: 3.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006499/0.2876, allocations: 0.4938 MB / 450.6 MB, free: 3.336 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.783e-05/0.2876, allocations: 33.7 kB / 450.6 MB, free: 3.297 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003597/0.288, allocations: 0.503 MB / 451.1 MB, free: 2.785 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000133/0.2881, allocations: 162.6 kB / 451.3 MB, free: 2.625 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001878/0.2883, allocations: 138.6 kB / 451.4 MB, free: 2.484 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.2885, allocations: 362.7 kB / 451.8 MB, free: 2.121 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003231/0.2888, allocations: 173.9 kB / 452 MB, free: 1.949 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005334/0.2893, allocations: 453.5 kB / 452.4 MB, free: 1.379 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001039/0.2904, allocations: 0.6508 MB / 453.1 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/0.2904, allocations: 0 / 453.1 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001338/0.2917, allocations: 0.7598 MB / 453.8 MB, free: 15.83 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.2918, allocations: 12.16 kB / 453.8 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.718e-05/0.2918, allocations: 15.98 kB / 453.8 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002862/0.2921, allocations: 76.81 kB / 453.9 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006932/0.2927, allocations: 195.7 kB / 454.1 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00208/0.2948, allocations: 1.864 MB / 456 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004927/0.2953, allocations: 83.39 kB / 456.1 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.958e-05/0.2954, allocations: 36 kB / 456.1 MB, free: 13.45 MB / 366.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.0003103/0.2957, allocations: 225.5 kB / 456.3 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.88e-05/0.2958, allocations: 59.91 kB / 456.4 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001122/0.2959, allocations: 61.2 kB / 456.4 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.2959, allocations: 7.984 kB / 456.4 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.2959, allocations: 3.938 kB / 456.4 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.2959, allocations: 0 / 456.4 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006341/0.2965, allocations: 460.8 kB / 456.9 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.2965, allocations: 0 / 456.9 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004318/0.297, allocations: 107.9 kB / 457 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002185/0.2972, allocations: 68.8 kB / 457.1 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.516e-05/0.2972, allocations: 8 kB / 457.1 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001978/0.2992, allocations: 1.848 MB / 458.9 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.2992, allocations: 0 / 458.9 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001028/0.3002, allocations: 0.6507 MB / 459.6 MB, free: 9.809 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001237/0.3004, allocations: 55.66 kB / 459.6 MB, free: 9.754 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.064e-05/0.3004, allocations: 19.92 kB / 459.6 MB, free: 9.734 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004385/0.3009, allocations: 44.31 kB / 459.7 MB, free: 9.691 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.7e-05/0.301, allocations: 28.06 kB / 459.7 MB, free: 9.664 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.309e-05/0.301, allocations: 16 kB / 459.7 MB, free: 9.648 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004803/0.3015, allocations: 330.8 kB / 460 MB, free: 9.328 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3015, allocations: 4 kB / 460.1 MB, free: 9.324 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009846/0.3025, allocations: 255.4 kB / 460.3 MB, free: 9.074 MB / 366.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.0001943/0.3027, allocations: 107.2 kB / 460.4 MB, free: 8.961 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0012/0.3039, allocations: 0.5642 MB / 461 MB, free: 8.383 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3039, allocations: 0 / 461 MB, free: 8.383 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005112/0.3044, allocations: 308 kB / 461.3 MB, free: 8.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005364/0.3049, allocations: 93.91 kB / 461.4 MB, free: 7.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002584/0.3075, allocations: 1.421 MB / 462.8 MB, free: 6.527 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003526/0.3078, allocations: 335.8 kB / 463.1 MB, free: 6.172 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002533/0.3081, allocations: 68.92 kB / 463.2 MB, free: 6.102 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.34e-05/0.3082, allocations: 35.44 kB / 463.2 MB, free: 6.066 MB / 366.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3082, allocations: 4 kB / 463.2 MB, free: 6.062 MB / 366.1 MB Notification: Performance of Templates: time 0.0158/0.324, allocations: 7.76 MB / 471 MB, free: 14.43 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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.7714407574385405]