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.001101/0.001101, allocations: 114.2 kB / 17.75 MB, free: 5.355 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.00123/0.001231, allocations: 185.4 kB / 18.68 MB, free: 4.434 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.329/1.329, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009931/0.0009931, allocations: 51.92 kB / 352 MB, free: 3.199 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2319/0.2329, allocations: 49.42 MB / 401.5 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.005767/0.2387, allocations: 5.767 MB / 407.2 MB, free: 3.078 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001591/0.2403, allocations: 1.169 MB / 408.4 MB, free: 1.902 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002529/0.2405, allocations: 16 kB / 408.4 MB, free: 1.887 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003074/0.2409, allocations: 174.3 kB / 408.6 MB, free: 1.715 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004315/0.2413, allocations: 281.4 kB / 408.9 MB, free: 1.438 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003838/0.2417, allocations: 223.7 kB / 409.1 MB, free: 1.219 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008355/0.2425, allocations: 1.064 MB / 410.1 MB, free: 152 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006115/0.2432, allocations: 0.5064 MB / 410.6 MB, free: 15.62 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003312/0.2435, allocations: 414.6 kB / 411 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004923/0.244, allocations: 481.9 kB / 411.5 MB, free: 14.74 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001245/0.2441, allocations: 96 kB / 411.6 MB, free: 14.65 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001542/0.2443, allocations: 96 kB / 411.7 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001561/0.2445, allocations: 219.2 kB / 411.9 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003834/0.2448, allocations: 0.4977 MB / 412.4 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008396/0.2457, allocations: 1.114 MB / 413.5 MB, free: 12.72 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.2457, allocations: 0 / 413.5 MB, free: 12.72 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2457, allocations: 3.938 kB / 413.5 MB, free: 12.72 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.043e-05/0.2457, 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.00181/0.2475, allocations: 1.243 MB / 414.8 MB, free: 11.42 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.2476, allocations: 8.031 kB / 414.8 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001458/0.2477, allocations: 103.8 kB / 414.9 MB, free: 11.31 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005776/0.2483, allocations: 459.1 kB / 415.3 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.697e-05/0.2484, allocations: 74.31 kB / 415.4 MB, free: 10.75 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/0.2485, allocations: 92.38 kB / 415.5 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001261/0.2498, allocations: 0.8678 MB / 416.4 MB, free: 9.77 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.957e-05/0.2498, allocations: 0 / 416.4 MB, free: 9.77 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.33e-05/0.2499, allocations: 47.94 kB / 416.4 MB, free: 9.723 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.831e-05/0.2499, allocations: 20 kB / 416.4 MB, free: 9.703 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009263/0.2508, allocations: 0.5739 MB / 417 MB, free: 9.129 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003789/0.2546, allocations: 2.945 MB / 419.9 MB, free: 6.062 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003909/0.255, allocations: 294.4 kB / 420.2 MB, free: 5.766 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003394/0.2554, allocations: 272.8 kB / 420.5 MB, free: 5.496 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.2554, allocations: 4 kB / 420.5 MB, free: 5.492 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.2554, allocations: 46.55 kB / 420.6 MB, free: 5.438 MB / 334.1 MB Notification: Performance of pre-optimization done (n=42): time 1.543e-06/0.2555, allocations: 3.938 kB / 420.6 MB, free: 5.434 MB / 334.1 MB Notification: Performance of matching and sorting (n=42): time 0.001348/0.2568, allocations: 0.6432 MB / 421.2 MB, free: 4.762 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.038e-05/0.2569, allocations: 63.34 kB / 421.3 MB, free: 4.688 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005169/0.2574, allocations: 0.5141 MB / 421.8 MB, free: 4.164 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.424e-05/0.2574, allocations: 33.7 kB / 421.8 MB, free: 4.125 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000301/0.2577, allocations: 485.5 kB / 422.3 MB, free: 3.641 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001199/0.2579, allocations: 157.8 kB / 422.4 MB, free: 3.484 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001794/0.258, allocations: 142.5 kB / 422.6 MB, free: 3.336 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.2582, allocations: 362.8 kB / 422.9 MB, free: 2.973 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003101/0.2585, allocations: 169.9 kB / 423.1 MB, free: 2.809 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004621/0.259, allocations: 457.6 kB / 423.5 MB, free: 2.234 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007755/0.2598, allocations: 0.644 MB / 424.2 MB, free: 1.465 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.74e-06/0.2598, allocations: 4 kB / 424.2 MB, free: 1.461 MB / 334.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001114/0.2609, allocations: 0.761 MB / 425 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.2609, allocations: 11.94 kB / 425 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.261, allocations: 8 kB / 425 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002642/0.2612, allocations: 80.81 kB / 425 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006396/0.2619, allocations: 203.8 kB / 425.2 MB, free: 400 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00173/0.2636, allocations: 1.998 MB / 427.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004429/0.2641, allocations: 90.97 kB / 427.3 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.203e-05/0.2641, allocations: 44.06 kB / 427.4 MB, free: 14.12 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.0002311/0.2644, allocations: 215.2 kB / 427.6 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.751e-05/0.2645, allocations: 59.34 kB / 427.6 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001122/0.2646, allocations: 61.52 kB / 427.7 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.2646, allocations: 3.984 kB / 427.7 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.2646, allocations: 0 / 427.7 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.2647, allocations: 136.3 kB / 427.8 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.771e-05/0.2648, allocations: 7.938 kB / 427.9 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004078/0.2652, allocations: 47.97 kB / 427.9 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.424e-05/0.2653, allocations: 31.94 kB / 427.9 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001124/0.2664, allocations: 0.5412 MB / 428.5 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007675/0.2672, allocations: 0.6673 MB / 429.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001981/0.2674, allocations: 135.9 kB / 429.3 MB, free: 12.17 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003273/0.2677, allocations: 354.8 kB / 429.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of Backend: time 5.81e-07/0.2677, allocations: 0 / 429.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00105/0.2688, allocations: 0.5763 MB / 430.2 MB, free: 11.23 MB / 350.1 MB Notification: Performance of SimCode: time 0.002027/0.2708, allocations: 1.886 MB / 432.1 MB, free: 9.289 MB / 350.1 MB Notification: Performance of Templates: time 0.01255/0.2834, allocations: 8.116 MB / 440.2 MB, free: 1.238 MB / 350.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