Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008825/0.0008822, allocations: 174.7 kB / 16.72 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.297/1.297, allocations: 205.4 MB / 222.9 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007091/0.0007091, allocations: 82.42 kB / 271.2 MB, free: 8.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003246/0.000325, allocations: 8 kB / 327.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2356/0.236, allocations: 47.56 MB / 375.1 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.004321/0.2403, allocations: 4.942 MB / 380 MB, free: 41.52 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002279/0.2427, allocations: 1.165 MB / 381.2 MB, free: 40.53 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000473/0.2432, allocations: 24.56 kB / 381.2 MB, free: 40.52 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000258/0.2434, allocations: 126.5 kB / 381.3 MB, free: 40.42 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000465/0.2439, allocations: 240.2 kB / 381.6 MB, free: 40.21 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003631/0.2443, allocations: 160.9 kB / 381.7 MB, free: 40.07 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008774/0.2452, allocations: 0.9873 MB / 382.7 MB, free: 39.49 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005794/0.2457, allocations: 438.1 kB / 383.1 MB, free: 39.2 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003769/0.2461, allocations: 337.5 kB / 383.5 MB, free: 39.03 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004055/0.2465, allocations: 389 kB / 383.9 MB, free: 38.77 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001005/0.2467, allocations: 50.25 kB / 383.9 MB, free: 38.77 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000138/0.2468, allocations: 54.62 kB / 384 MB, free: 38.77 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001103/0.2469, allocations: 153.6 kB / 384.1 MB, free: 38.64 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003576/0.2473, allocations: 457.8 kB / 384.6 MB, free: 38.34 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005417/0.2478, allocations: 0.804 MB / 385.4 MB, free: 37.73 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.2478, allocations: 5.266 kB / 385.4 MB, free: 37.72 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.2479, allocations: 3.938 kB / 385.4 MB, free: 37.72 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.229e-05/0.2479, allocations: 0 / 385.4 MB, free: 37.72 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.001635/0.2495, allocations: 1.076 MB / 386.4 MB, free: 36.91 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.2496, allocations: 13.5 kB / 386.5 MB, free: 36.91 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001652/0.2497, allocations: 102.2 kB / 386.6 MB, free: 36.86 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000507/0.2503, allocations: 451.7 kB / 387 MB, free: 36.45 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.686e-05/0.2503, allocations: 84 kB / 387.1 MB, free: 36.41 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001078/0.2504, allocations: 89.91 kB / 387.2 MB, free: 36.38 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001121/0.2516, allocations: 0.8674 MB / 388 MB, free: 35.6 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/0.2516, allocations: 0 / 388 MB, free: 35.6 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.552e-05/0.2517, allocations: 43.94 kB / 388.1 MB, free: 35.55 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.618e-05/0.2517, allocations: 24 kB / 388.1 MB, free: 35.53 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007899/0.2525, allocations: 0.5661 MB / 388.7 MB, free: 34.96 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003284/0.2558, allocations: 2.987 MB / 391.7 MB, free: 31.86 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003555/0.2562, allocations: 307 kB / 392 MB, free: 31.55 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002949/0.2565, allocations: 273.7 kB / 392.2 MB, free: 31.28 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/0.2565, allocations: 4 kB / 392.2 MB, free: 31.28 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.2565, allocations: 42.55 kB / 392.3 MB, free: 31.23 MB / 298.7 MB Notification: Performance of pre-optimization done (n=42): time 2.355e-06/0.2565, allocations: 0 / 392.3 MB, free: 31.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=42): time 0.00125/0.2578, allocations: 0.651 MB / 392.9 MB, free: 30.55 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.777e-05/0.2578, allocations: 63.33 kB / 393 MB, free: 30.47 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004235/0.2583, allocations: 0.5102 MB / 393.5 MB, free: 29.95 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.755e-05/0.2583, allocations: 37.7 kB / 393.5 MB, free: 29.91 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001805/0.2585, allocations: 493.4 kB / 394 MB, free: 29.42 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.951e-05/0.2586, allocations: 157.8 kB / 394.2 MB, free: 29.26 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.427e-05/0.2586, allocations: 12 kB / 394.2 MB, free: 29.25 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.643e-05/0.2587, allocations: 362.8 kB / 394.5 MB, free: 28.89 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002383/0.2589, allocations: 173.9 kB / 394.7 MB, free: 28.71 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003115/0.2592, allocations: 453.6 kB / 395.1 MB, free: 28.15 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005597/0.2598, allocations: 0.6479 MB / 395.8 MB, free: 27.38 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.2598, allocations: 4 kB / 395.8 MB, free: 27.37 MB / 298.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0009361/0.2608, allocations: 0.7608 MB / 396.6 MB, free: 26.6 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.2608, allocations: 8 kB / 396.6 MB, free: 26.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.2608, allocations: 15.98 kB / 396.6 MB, free: 26.58 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002676/0.2611, allocations: 81.09 kB / 396.7 MB, free: 26.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000586/0.2617, allocations: 203.6 kB / 396.9 MB, free: 26.3 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001299/0.263, allocations: 1.792 MB / 398.6 MB, free: 24.38 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004927/0.2635, allocations: 99.02 kB / 398.7 MB, free: 24.28 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.497e-05/0.2635, allocations: 36 kB / 398.8 MB, free: 24.24 MB / 298.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002499/0.2638, allocations: 209.5 kB / 399 MB, free: 24.03 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.275e-05/0.2639, allocations: 59.34 kB / 399 MB, free: 23.97 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.463e-05/0.264, allocations: 65.5 kB / 399.1 MB, free: 23.9 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.264, allocations: 4 kB / 399.1 MB, free: 23.9 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.264, allocations: 4 kB / 399.1 MB, free: 23.89 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.264, allocations: 4 kB / 399.1 MB, free: 23.89 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005906/0.2646, allocations: 0.6453 MB / 399.8 MB, free: 23.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.2646, allocations: 0 / 399.8 MB, free: 23.2 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003728/0.265, allocations: 107.8 kB / 399.9 MB, free: 23.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001843/0.2652, allocations: 72.8 kB / 399.9 MB, free: 23.02 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.274e-05/0.2652, allocations: 11.98 kB / 399.9 MB, free: 23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001216/0.2664, allocations: 1.784 MB / 401.7 MB, free: 21.08 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2664, allocations: 0 / 401.7 MB, free: 21.08 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007591/0.2672, allocations: 0.6659 MB / 402.4 MB, free: 20.4 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.2673, allocations: 136.3 kB / 402.5 MB, free: 20.25 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.808e-05/0.2674, allocations: 8 kB / 402.5 MB, free: 20.24 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003418/0.2677, allocations: 55.91 kB / 402.6 MB, free: 20.18 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.222e-05/0.2678, allocations: 27.95 kB / 402.6 MB, free: 20.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.378e-05/0.2678, allocations: 16 kB / 402.6 MB, free: 20.14 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000289/0.2681, allocations: 342.9 kB / 403 MB, free: 19.81 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2681, allocations: 0 / 403 MB, free: 19.81 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008163/0.269, allocations: 243.2 kB / 403.2 MB, free: 19.57 MB / 298.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001767/0.2691, allocations: 119.2 kB / 403.3 MB, free: 19.45 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001001/0.2702, allocations: 0.5853 MB / 403.9 MB, free: 18.85 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.2702, allocations: 0 / 403.9 MB, free: 18.85 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003967/0.2706, allocations: 326.8 kB / 404.2 MB, free: 18.52 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006875/0.2713, allocations: 110.5 kB / 404.3 MB, free: 18.41 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002/0.2733, allocations: 1.791 MB / 406.1 MB, free: 16.58 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003099/0.2736, allocations: 0.9301 MB / 407.1 MB, free: 15.62 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001172/0.2737, allocations: 47.44 kB / 407.1 MB, free: 15.58 MB / 298.7 MB Notification: Performance of SimCode: time 4.41e-07/0.2737, allocations: 0 / 407.1 MB, free: 15.58 MB / 298.7 MB Notification: Performance of Templates: time 0.01041/0.2842, allocations: 10.89 MB / 418 MB, free: 4.699 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches