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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C7.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 107.1 kB / 17.74 MB, free: 5.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 188.2 kB / 18.67 MB, free: 4.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 222.9 MB / 242.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001059/0.001059, allocations: 51.91 kB / 352 MB, free: 3.191 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2677/0.2688, allocations: 49.43 MB / 401.5 MB, free: 8.723 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.006701/0.2756, allocations: 5.753 MB / 407.2 MB, free: 3.059 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002231/0.2778, allocations: 1.161 MB / 408.4 MB, free: 1.891 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000633/0.2785, allocations: 23.94 kB / 408.4 MB, free: 1.867 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000425/0.2789, allocations: 174.3 kB / 408.6 MB, free: 1.695 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006412/0.2796, allocations: 269.5 kB / 408.8 MB, free: 1.43 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004808/0.2801, allocations: 223.7 kB / 409 MB, free: 1.211 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009788/0.2811, allocations: 1.067 MB / 410.1 MB, free: 140 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006855/0.2818, allocations: 0.5025 MB / 410.6 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004385/0.2822, allocations: 422.6 kB / 411 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005182/0.2828, allocations: 474 kB / 411.5 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001284/0.2829, allocations: 99.94 kB / 411.6 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001525/0.2831, allocations: 96 kB / 411.7 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001496/0.2832, allocations: 219.3 kB / 411.9 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004564/0.2837, allocations: 0.5054 MB / 412.4 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001055/0.2847, allocations: 1.107 MB / 413.5 MB, free: 12.71 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.2848, allocations: 0 / 413.5 MB, free: 12.71 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.2848, allocations: 0 / 413.5 MB, free: 12.71 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.036e-05/0.2848, allocations: 3.938 kB / 413.5 MB, free: 12.71 MB / 334.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.002008/0.2868, allocations: 1.24 MB / 414.8 MB, free: 11.41 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.2869, allocations: 8.031 kB / 414.8 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001717/0.287, allocations: 107.8 kB / 414.9 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006644/0.2877, allocations: 463 kB / 415.3 MB, free: 10.81 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.891e-05/0.2878, allocations: 74.38 kB / 415.4 MB, free: 10.74 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001175/0.2879, allocations: 92.38 kB / 415.5 MB, free: 10.65 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001308/0.2892, allocations: 0.8677 MB / 416.3 MB, free: 9.754 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.2892, allocations: 0 / 416.3 MB, free: 9.754 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.431e-05/0.2893, allocations: 52 kB / 416.4 MB, free: 9.703 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.955e-05/0.2894, allocations: 24 kB / 416.4 MB, free: 9.68 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009613/0.2903, allocations: 0.5661 MB / 417 MB, free: 9.113 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004206/0.2945, allocations: 2.952 MB / 419.9 MB, free: 6.039 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000416/0.295, allocations: 294.5 kB / 420.2 MB, free: 5.742 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003611/0.2954, allocations: 264.8 kB / 420.5 MB, free: 5.48 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.207e-05/0.2954, allocations: 4 kB / 420.5 MB, free: 5.477 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.601e-05/0.2954, allocations: 42.56 kB / 420.5 MB, free: 5.426 MB / 334.1 MB Notification: Performance of pre-optimization done (n=42): time 2.745e-06/0.2954, allocations: 0 / 420.5 MB, free: 5.426 MB / 334.1 MB Notification: Performance of matching and sorting (n=42): time 0.001468/0.2969, allocations: 0.6471 MB / 421.2 MB, free: 4.75 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.585e-05/0.297, allocations: 59.41 kB / 421.2 MB, free: 4.68 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005807/0.2976, allocations: 0.5141 MB / 421.8 MB, free: 4.156 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.94e-05/0.2976, allocations: 33.7 kB / 421.8 MB, free: 4.117 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002869/0.2979, allocations: 485.5 kB / 422.3 MB, free: 3.633 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000115/0.298, allocations: 157.8 kB / 422.4 MB, free: 3.477 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001689/0.2982, allocations: 146.5 kB / 422.6 MB, free: 3.324 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.2984, allocations: 362.8 kB / 422.9 MB, free: 2.961 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002929/0.2987, allocations: 169.9 kB / 423.1 MB, free: 2.797 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004441/0.2991, allocations: 453.6 kB / 423.5 MB, free: 2.227 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007516/0.2999, allocations: 0.6479 MB / 424.2 MB, free: 1.453 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/0.2999, allocations: 4 kB / 424.2 MB, free: 1.449 MB / 334.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00118/0.3011, allocations: 0.7609 MB / 424.9 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.3011, allocations: 11.94 kB / 424.9 MB, free: 0.668 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/0.3011, allocations: 8 kB / 425 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002856/0.3014, allocations: 84.81 kB / 425 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006628/0.3021, allocations: 191.9 kB / 425.2 MB, free: 396 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001916/0.304, allocations: 2.01 MB / 427.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00053/0.3046, allocations: 94.97 kB / 427.3 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.252e-05/0.3046, allocations: 32.06 kB / 427.4 MB, free: 14.11 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.0003051/0.3049, allocations: 223 kB / 427.6 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.496e-05/0.305, allocations: 59.34 kB / 427.6 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001108/0.3052, allocations: 61.52 kB / 427.7 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.3052, allocations: 7.984 kB / 427.7 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.973e-05/0.3052, allocations: 7.984 kB / 427.7 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.3052, allocations: 0 / 427.7 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007527/0.306, allocations: 0.6414 MB / 428.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.306, allocations: 0 / 428.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000411/0.3064, allocations: 103.9 kB / 428.5 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002111/0.3066, allocations: 69.08 kB / 428.5 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.867e-05/0.3067, allocations: 16 kB / 428.5 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001798/0.3085, allocations: 1.975 MB / 430.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.3085, allocations: 3.984 kB / 430.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009737/0.3095, allocations: 0.6736 MB / 431.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001426/0.3096, allocations: 140.4 kB / 431.3 MB, free: 9.902 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.742e-05/0.3097, allocations: 8 kB / 431.3 MB, free: 9.895 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004059/0.3101, allocations: 39.97 kB / 431.4 MB, free: 9.855 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.591e-05/0.3102, allocations: 31.97 kB / 431.4 MB, free: 9.824 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.722e-05/0.3102, allocations: 15.98 kB / 431.4 MB, free: 9.809 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003891/0.3106, allocations: 342.9 kB / 431.8 MB, free: 9.477 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3106, allocations: 4 kB / 431.8 MB, free: 9.473 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008047/0.3114, allocations: 239.3 kB / 432 MB, free: 9.238 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.000164/0.3116, allocations: 115.9 kB / 432.1 MB, free: 9.117 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009994/0.3126, allocations: 0.5932 MB / 432.7 MB, free: 8.512 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.3126, allocations: 4.25 kB / 432.7 MB, free: 8.508 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004498/0.3131, allocations: 318.4 kB / 433 MB, free: 8.184 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006258/0.3137, allocations: 126.5 kB / 433.1 MB, free: 8.062 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002281/0.316, allocations: 1.423 MB / 434.6 MB, free: 6.602 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005109/0.3165, allocations: 0.9337 MB / 435.5 MB, free: 5.641 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001566/0.3167, allocations: 43.44 kB / 435.5 MB, free: 5.598 MB / 350.1 MB Notification: Performance of SimCode: time 7.31e-07/0.3167, allocations: 0 / 435.5 MB, free: 5.598 MB / 350.1 MB Notification: Performance of Templates: time 0.01473/0.3315, allocations: 11.05 MB / 446.6 MB, free: 10.57 MB / 366.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.makefile (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) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches