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.001473/0.001473, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.096/2.096, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001102/0.001101, allocations: 94.06 kB / 262.1 MB, free: 13.89 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.194e-05/2.204e-05, allocations: 4 kB / 314.8 MB, free: 9.176 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.344/0.3441, allocations: 47.56 MB / 362.3 MB, free: 45.86 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1283/0.4725, allocations: 78.08 MB / 440.4 MB, free: 8.254 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002322/0.4728, allocations: 67.97 kB / 440.5 MB, free: 8.188 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.05517/0.5279, allocations: 12.69 MB / 453.2 MB, free: 11.5 MB / 347.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.528, allocations: 0 / 453.2 MB, free: 11.5 MB / 347.1 MB Notification: Performance of Transformations before backend: time 5.967e-05/0.5281, allocations: 24 kB / 453.2 MB, free: 11.48 MB / 347.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.003127/0.5312, allocations: 0.9965 MB / 454.2 MB, free: 10.44 MB / 347.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.425e-05/0.5313, allocations: 12.03 kB / 454.2 MB, free: 10.43 MB / 347.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003749/0.5317, allocations: 102.8 kB / 454.3 MB, free: 10.32 MB / 347.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001113/0.5328, allocations: 447.5 kB / 454.7 MB, free: 9.848 MB / 347.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.625e-05/0.5329, allocations: 32 kB / 454.8 MB, free: 9.816 MB / 347.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001915/0.5331, allocations: 52 kB / 454.8 MB, free: 9.766 MB / 347.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001568/0.5347, allocations: 496 kB / 455.3 MB, free: 9.281 MB / 347.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001888/0.5366, allocations: 0.6957 MB / 456 MB, free: 8.562 MB / 347.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.076e-05/0.5367, allocations: 0 / 456 MB, free: 8.562 MB / 347.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.545e-05/0.5368, allocations: 5.578 kB / 456 MB, free: 8.559 MB / 347.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.363e-05/0.5368, allocations: 24 kB / 456 MB, free: 8.535 MB / 347.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007475/0.5443, allocations: 2.846 MB / 458.9 MB, free: 5.586 MB / 347.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005946/0.545, allocations: 266.6 kB / 459.1 MB, free: 5.316 MB / 347.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000525/0.5455, allocations: 252.8 kB / 459.4 MB, free: 5.066 MB / 347.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.822e-05/0.5456, allocations: 4 kB / 459.4 MB, free: 5.062 MB / 347.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.843e-05/0.5456, allocations: 42.5 kB / 459.4 MB, free: 5.012 MB / 347.1 MB Notification: Performance of pre-optimization done (n=42): time 3.978e-06/0.5456, allocations: 0 / 459.4 MB, free: 5.012 MB / 347.1 MB Notification: Performance of matching and sorting (n=42): time 0.001197/0.5468, allocations: 365.7 kB / 459.8 MB, free: 4.645 MB / 347.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.5469, allocations: 55.41 kB / 459.8 MB, free: 4.578 MB / 347.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007472/0.5477, allocations: 401 kB / 460.2 MB, free: 4.176 MB / 347.1 MB Notification: Performance of collectPreVariables (initialization): time 6.955e-05/0.5478, allocations: 25.7 kB / 460.2 MB, free: 4.145 MB / 347.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004535/0.5482, allocations: 0.5311 MB / 460.8 MB, free: 3.605 MB / 347.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001843/0.5484, allocations: 145.9 kB / 460.9 MB, free: 3.461 MB / 347.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-05/0.5485, allocations: 0 / 460.9 MB, free: 3.461 MB / 347.1 MB Notification: Performance of setup shared object (initialization): time 0.0001735/0.5487, allocations: 348.2 kB / 461.3 MB, free: 3.113 MB / 347.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004254/0.5491, allocations: 145.6 kB / 461.4 MB, free: 2.969 MB / 347.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006279/0.5497, allocations: 410.7 kB / 461.8 MB, free: 2.445 MB / 347.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005287/0.5503, allocations: 210 kB / 462 MB, free: 2.238 MB / 347.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.357e-05/0.5503, allocations: 8 kB / 462 MB, free: 2.23 MB / 347.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001825/0.5521, allocations: 0.6132 MB / 462.6 MB, free: 1.609 MB / 347.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.143e-05/0.5522, allocations: 12 kB / 462.6 MB, free: 1.598 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.185e-05/0.5523, allocations: 14.11 kB / 462.7 MB, free: 1.586 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004483/0.5527, allocations: 84.75 kB / 462.7 MB, free: 1.5 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001345/0.5541, allocations: 199.7 kB / 462.9 MB, free: 1.305 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002676/0.5568, allocations: 1.741 MB / 464.7 MB, free: 15.45 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008696/0.5577, allocations: 75 kB / 464.7 MB, free: 15.38 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-05/0.5578, allocations: 40 kB / 464.8 MB, free: 15.34 MB / 363.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 () * 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.0002087/0.558, allocations: 120.8 kB / 464.9 MB, free: 15.21 MB / 363.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001407/0.5582, allocations: 63.28 kB / 465 MB, free: 15.15 MB / 363.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001589/0.5583, allocations: 57.28 kB / 465 MB, free: 15.1 MB / 363.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.5583, allocations: 7.938 kB / 465 MB, free: 15.09 MB / 363.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-05/0.5584, allocations: 4 kB / 465 MB, free: 15.09 MB / 363.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.932e-06/0.5584, allocations: 0 / 465 MB, free: 15.09 MB / 363.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00106/0.5595, allocations: 0.5326 MB / 465.6 MB, free: 14.52 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.5595, allocations: 0 / 465.6 MB, free: 14.52 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008428/0.5603, allocations: 103.9 kB / 465.7 MB, free: 14.41 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003819/0.5607, allocations: 64.73 kB / 465.7 MB, free: 14.35 MB / 363.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.521e-05/0.5608, allocations: 8 kB / 465.7 MB, free: 14.34 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002601/0.5634, allocations: 1.731 MB / 467.5 MB, free: 12.5 MB / 363.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/0.5635, allocations: 4.062 kB / 467.5 MB, free: 12.5 MB / 363.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00146/0.5649, allocations: 0.5909 MB / 468.1 MB, free: 11.89 MB / 363.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00028/0.5653, allocations: 136.4 kB / 468.2 MB, free: 11.73 MB / 363.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.75e-05/0.5654, allocations: 3.984 kB / 468.2 MB, free: 11.73 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007502/0.5661, allocations: 43.97 kB / 468.2 MB, free: 11.69 MB / 363.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.5663, allocations: 23.97 kB / 468.3 MB, free: 11.66 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.837e-05/0.5663, allocations: 19.98 kB / 468.3 MB, free: 11.64 MB / 363.1 MB Notification: Performance of sorting global known variables: time 0.0005507/0.5669, allocations: 295 kB / 468.6 MB, free: 11.36 MB / 363.1 MB Notification: Performance of sort global known variables: time 3.287e-06/0.5669, allocations: 0 / 468.6 MB, free: 11.36 MB / 363.1 MB Notification: Performance of remove unused functions: time 0.001238/0.5682, allocations: 227.1 kB / 468.8 MB, free: 11.14 MB / 363.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 () * 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.0002429/0.5684, allocations: 107.5 kB / 468.9 MB, free: 11.02 MB / 363.1 MB Notification: Performance of simCode: created initialization part: time 0.001425/0.5699, allocations: 0.5191 MB / 469.4 MB, free: 10.49 MB / 363.1 MB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.5699, allocations: 0 / 469.4 MB, free: 10.49 MB / 363.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007513/0.5707, allocations: 299.4 kB / 469.7 MB, free: 10.19 MB / 363.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008035/0.5715, allocations: 81.52 kB / 469.8 MB, free: 10.11 MB / 363.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003046/0.5746, allocations: 1.107 MB / 470.9 MB, free: 8.969 MB / 363.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006925/0.5753, allocations: 0.9452 MB / 471.8 MB, free: 7.996 MB / 363.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002468/0.5756, allocations: 43.44 kB / 471.9 MB, free: 7.953 MB / 363.1 MB Notification: Performance of SimCode: time 9.32e-07/0.5756, allocations: 0 / 471.9 MB, free: 7.953 MB / 363.1 MB Notification: Performance of Templates: time 0.02341/0.599, allocations: 10.29 MB / 482.2 MB, free: 13.68 MB / 379.1 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/jenkins1/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