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.001365/0.001365, allocations: 112.3 kB / 17.74 MB, free: 5.336 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.001478/0.001478, allocations: 187 kB / 18.67 MB, free: 4.41 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.341/1.341, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001103/0.001103, allocations: 47.92 kB / 352 MB, free: 3.211 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2707/0.2719, allocations: 49.43 MB / 401.5 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.006648/0.2786, allocations: 5.773 MB / 407.2 MB, free: 3.059 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002644/0.2812, allocations: 1.157 MB / 408.4 MB, free: 1.895 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009322/0.2822, allocations: 20 kB / 408.4 MB, free: 1.875 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006748/0.2829, allocations: 170.3 kB / 408.6 MB, free: 1.707 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001087/0.2841, allocations: 281.4 kB / 408.8 MB, free: 1.43 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007254/0.2848, allocations: 215.7 kB / 409.1 MB, free: 1.219 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001572/0.2864, allocations: 1.071 MB / 410.1 MB, free: 144 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009518/0.2874, allocations: 0.5064 MB / 410.6 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006805/0.288, allocations: 410.7 kB / 411 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008016/0.2889, allocations: 481.8 kB / 411.5 MB, free: 14.74 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001731/0.289, allocations: 100 kB / 411.6 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001761/0.2892, allocations: 96 kB / 411.7 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001757/0.2894, allocations: 223.2 kB / 411.9 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00048/0.2899, allocations: 0.4977 MB / 412.4 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001017/0.2909, allocations: 1.107 MB / 413.5 MB, free: 12.72 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.2909, allocations: 0 / 413.5 MB, free: 12.72 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.291, allocations: 0 / 413.5 MB, free: 12.72 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.539e-05/0.291, allocations: 0 / 413.5 MB, free: 12.72 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.001886/0.2929, allocations: 1.243 MB / 414.8 MB, free: 11.42 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.2929, allocations: 8.031 kB / 414.8 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001558/0.2931, allocations: 103.8 kB / 414.9 MB, free: 11.31 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005662/0.2937, allocations: 467 kB / 415.3 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.745e-05/0.2937, allocations: 66.38 kB / 415.4 MB, free: 10.75 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001178/0.2939, allocations: 104.3 kB / 415.5 MB, free: 10.65 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001286/0.2951, allocations: 0.8639 MB / 416.4 MB, free: 9.762 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.182e-05/0.2952, allocations: 4 kB / 416.4 MB, free: 9.758 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.723e-05/0.2953, allocations: 44 kB / 416.4 MB, free: 9.715 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.803e-05/0.2953, allocations: 20 kB / 416.4 MB, free: 9.695 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009542/0.2962, allocations: 0.5777 MB / 417 MB, free: 9.117 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00407/0.3003, allocations: 2.941 MB / 419.9 MB, free: 6.055 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000431/0.3008, allocations: 302.4 kB / 420.2 MB, free: 5.75 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003667/0.3012, allocations: 268.8 kB / 420.5 MB, free: 5.484 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.3012, allocations: 4 kB / 420.5 MB, free: 5.48 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.3012, allocations: 38.56 kB / 420.5 MB, free: 5.434 MB / 334.1 MB Notification: Performance of pre-optimization done (n=42): time 2.574e-06/0.3012, allocations: 0 / 420.5 MB, free: 5.434 MB / 334.1 MB Notification: Performance of matching and sorting (n=42): time 0.00148/0.3027, allocations: 0.6471 MB / 421.2 MB, free: 4.758 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/0.3028, allocations: 63.34 kB / 421.2 MB, free: 4.684 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005526/0.3033, allocations: 0.5102 MB / 421.8 MB, free: 4.164 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.609e-05/0.3034, allocations: 37.7 kB / 421.8 MB, free: 4.121 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000293/0.3037, allocations: 489.5 kB / 422.3 MB, free: 3.633 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.3038, allocations: 153.8 kB / 422.4 MB, free: 3.48 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000183/0.304, allocations: 146.5 kB / 422.6 MB, free: 3.328 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.3041, allocations: 362.8 kB / 422.9 MB, free: 2.965 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002874/0.3044, allocations: 169.9 kB / 423.1 MB, free: 2.801 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005613/0.305, allocations: 449.6 kB / 423.5 MB, free: 2.234 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007857/0.3058, allocations: 0.6479 MB / 424.2 MB, free: 1.461 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/0.3058, allocations: 8 kB / 424.2 MB, free: 1.453 MB / 334.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001156/0.307, allocations: 0.7533 MB / 424.9 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.307, allocations: 15.98 kB / 424.9 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.272e-05/0.307, allocations: 8 kB / 425 MB, free: 0.668 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002954/0.3073, allocations: 84.75 kB / 425 MB, free: 0.582 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006336/0.308, allocations: 195.7 kB / 425.2 MB, free: 400 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001949/0.3099, allocations: 2.01 MB / 427.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004636/0.3104, allocations: 90.97 kB / 427.3 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.697e-05/0.3105, allocations: 32 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.0002905/0.3108, allocations: 217.6 kB / 427.6 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.94e-05/0.3109, allocations: 63.34 kB / 427.6 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.911e-05/0.311, allocations: 57.52 kB / 427.7 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.311, allocations: 4 kB / 427.7 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.268e-06/0.311, allocations: 0 / 427.7 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.311, allocations: 7.984 kB / 427.7 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007222/0.3118, allocations: 0.6491 MB / 428.4 MB, free: 13.06 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3118, allocations: 0 / 428.4 MB, free: 13.06 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003911/0.3122, allocations: 95.88 kB / 428.4 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002119/0.3124, allocations: 80.73 kB / 428.5 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.343e-05/0.3124, allocations: 12 kB / 428.5 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001738/0.3142, allocations: 1.979 MB / 430.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3142, allocations: 0 / 430.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000943/0.3151, allocations: 0.6619 MB / 431.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001246/0.3153, allocations: 144.3 kB / 431.3 MB, free: 9.918 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.399e-05/0.3153, allocations: 8 kB / 431.3 MB, free: 9.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00039/0.3157, allocations: 44.03 kB / 431.4 MB, free: 9.867 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.834e-05/0.3158, allocations: 27.97 kB / 431.4 MB, free: 9.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.694e-05/0.3159, allocations: 15.98 kB / 431.4 MB, free: 9.824 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003574/0.3162, allocations: 350.8 kB / 431.8 MB, free: 9.484 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3162, allocations: 0 / 431.8 MB, free: 9.484 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007539/0.317, allocations: 243.3 kB / 432 MB, free: 9.246 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.0001522/0.3171, allocations: 116 kB / 432.1 MB, free: 9.125 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009711/0.3181, allocations: 0.597 MB / 432.7 MB, free: 8.516 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.3181, allocations: 0 / 432.7 MB, free: 8.516 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004324/0.3186, allocations: 310.5 kB / 433 MB, free: 8.199 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005493/0.3191, allocations: 134 kB / 433.1 MB, free: 8.074 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002145/0.3213, allocations: 1.415 MB / 434.6 MB, free: 6.621 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004817/0.3218, allocations: 0.9376 MB / 435.5 MB, free: 5.656 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001209/0.3219, allocations: 43.44 kB / 435.5 MB, free: 5.613 MB / 350.1 MB Notification: Performance of SimCode: time 1.853e-06/0.3219, allocations: 0 / 435.5 MB, free: 5.613 MB / 350.1 MB Notification: Performance of Templates: time 0.01438/0.3363, allocations: 11.14 MB / 446.7 MB, free: 10.49 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