Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001007/0.001007, allocations: 193.5 kB / 17.05 MB, free: 5.102 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.389/1.389, allocations: 226.6 MB / 244.4 MB, free: 8.211 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009339/0.0009342, allocations: 93.89 kB / 296.4 MB, free: 7.004 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002221/0.0002221, allocations: 8 kB / 356.2 MB, free: 11.22 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2101/0.2103, allocations: 51.3 MB / 407.5 MB, free: 27.84 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.003413/0.2138, allocations: 4.995 MB / 412.5 MB, free: 22.82 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001381/0.2152, allocations: 1.161 MB / 413.6 MB, free: 21.66 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002567/0.2154, allocations: 27.16 kB / 413.7 MB, free: 21.64 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002019/0.2156, allocations: 127 kB / 413.8 MB, free: 21.52 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003162/0.216, allocations: 234.9 kB / 414 MB, free: 21.29 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002735/0.2162, allocations: 163.8 kB / 414.2 MB, free: 21.12 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005595/0.2168, allocations: 0.9932 MB / 415.2 MB, free: 20.13 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004253/0.2172, allocations: 396.2 kB / 415.6 MB, free: 19.73 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002059/0.2175, allocations: 330.9 kB / 415.9 MB, free: 19.4 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003113/0.2178, allocations: 398.2 kB / 416.3 MB, free: 19.01 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.467e-05/0.2179, allocations: 52 kB / 416.3 MB, free: 18.96 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.218, allocations: 52 kB / 416.4 MB, free: 18.91 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.039e-05/0.2181, allocations: 151.4 kB / 416.5 MB, free: 18.76 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001018/0.2182, allocations: 193.3 kB / 416.7 MB, free: 18.57 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004219/0.2186, allocations: 0.8071 MB / 417.5 MB, free: 17.76 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2186, allocations: 0 / 417.5 MB, free: 17.76 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.2186, allocations: 0 / 417.5 MB, free: 17.76 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.048e-05/0.2186, allocations: 0 / 417.5 MB, free: 17.76 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.00136/0.22, allocations: 1.088 MB / 418.6 MB, free: 16.62 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.22, allocations: 8.031 kB / 418.6 MB, free: 16.61 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001194/0.2202, allocations: 106.8 kB / 418.7 MB, free: 16.5 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004023/0.2206, allocations: 434.2 kB / 419.1 MB, free: 16.04 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.694e-05/0.2206, allocations: 77.89 kB / 419.2 MB, free: 15.96 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.643e-05/0.2207, allocations: 99.97 kB / 419.3 MB, free: 15.87 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001054/0.2218, allocations: 0.8635 MB / 420.2 MB, free: 14.98 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/0.2218, allocations: 0 / 420.2 MB, free: 14.98 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.173e-05/0.2219, allocations: 43.94 kB / 420.2 MB, free: 14.93 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.393e-05/0.2219, allocations: 24 kB / 420.3 MB, free: 14.91 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007701/0.2227, allocations: 0.5622 MB / 420.8 MB, free: 14.35 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003292/0.226, allocations: 2.988 MB / 423.8 MB, free: 11.23 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003523/0.2263, allocations: 304.6 kB / 424.1 MB, free: 10.93 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002824/0.2266, allocations: 265.5 kB / 424.4 MB, free: 10.67 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.2266, allocations: 11.78 kB / 424.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.928e-05/0.2267, allocations: 34.56 kB / 424.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of pre-optimization done (n=42): time 1.502e-06/0.2267, allocations: 0 / 424.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of matching and sorting (n=42): time 0.001254/0.2279, allocations: 0.6582 MB / 425.1 MB, free: 9.926 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.423e-05/0.228, allocations: 59.34 kB / 425.1 MB, free: 9.855 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003962/0.2284, allocations: 0.5103 MB / 425.6 MB, free: 9.336 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.699e-05/0.2284, allocations: 33.7 kB / 425.7 MB, free: 9.297 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001682/0.2286, allocations: 489.5 kB / 426.1 MB, free: 8.809 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.181e-05/0.2287, allocations: 153.8 kB / 426.3 MB, free: 8.656 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.287e-05/0.2287, allocations: 16 kB / 426.3 MB, free: 8.641 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.09e-05/0.2288, allocations: 370.7 kB / 426.7 MB, free: 8.27 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002389/0.229, allocations: 169.9 kB / 426.8 MB, free: 8.105 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003495/0.2294, allocations: 453.6 kB / 427.3 MB, free: 7.539 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003323/0.2297, allocations: 238 kB / 427.5 MB, free: 7.309 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.2297, allocations: 4 kB / 427.5 MB, free: 7.305 MB / 298.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0009493/0.2307, allocations: 0.7609 MB / 428.3 MB, free: 6.531 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.2307, allocations: 8 kB / 428.3 MB, free: 6.523 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.2307, allocations: 8 kB / 428.3 MB, free: 6.516 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002521/0.231, allocations: 80.81 kB / 428.4 MB, free: 6.434 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006185/0.2316, allocations: 211.8 kB / 428.6 MB, free: 6.227 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001274/0.2329, allocations: 1.8 MB / 430.4 MB, free: 4.297 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004091/0.2333, allocations: 94.97 kB / 430.5 MB, free: 4.203 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.51e-05/0.2334, allocations: 35.95 kB / 430.5 MB, free: 4.168 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.000218/0.2336, allocations: 209.7 kB / 430.7 MB, free: 3.953 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.283e-05/0.2337, allocations: 59.34 kB / 430.8 MB, free: 3.895 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.751e-05/0.2337, allocations: 65.5 kB / 430.8 MB, free: 3.828 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.2337, allocations: 4 kB / 430.8 MB, free: 3.824 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.154e-05/0.2338, allocations: 4 kB / 430.8 MB, free: 3.82 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-06/0.2338, allocations: 7.969 kB / 430.8 MB, free: 3.812 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005603/0.2343, allocations: 0.6414 MB / 431.5 MB, free: 3.121 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.2344, allocations: 0 / 431.5 MB, free: 3.121 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003752/0.2347, allocations: 107.9 kB / 431.6 MB, free: 3.016 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001762/0.2349, allocations: 72.75 kB / 431.7 MB, free: 2.941 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.219e-05/0.235, allocations: 15.98 kB / 431.7 MB, free: 2.926 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001177/0.2361, allocations: 1.788 MB / 433.5 MB, free: 1.004 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2362, allocations: 3.953 kB / 433.5 MB, free: 1 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007328/0.2369, allocations: 0.6584 MB / 434.1 MB, free: 328 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.101e-05/0.237, allocations: 136.4 kB / 434.3 MB, free: 172 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.426e-05/0.237, allocations: 15.98 kB / 434.3 MB, free: 156 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000364/0.2374, allocations: 47.97 kB / 434.3 MB, free: 108 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.38e-05/0.2375, allocations: 23.97 kB / 434.3 MB, free: 84 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.166e-05/0.2375, allocations: 19.98 kB / 434.4 MB, free: 64 kB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003604/0.2379, allocations: 338.9 kB / 434.7 MB, free: 15.73 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2379, allocations: 0 / 434.7 MB, free: 15.73 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007203/0.2386, allocations: 251.2 kB / 434.9 MB, free: 15.48 MB / 314.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.0001601/0.2388, allocations: 115.5 kB / 435.1 MB, free: 15.36 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009085/0.2397, allocations: 0.5918 MB / 435.6 MB, free: 14.76 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.2397, allocations: 0 / 435.6 MB, free: 14.76 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004281/0.2401, allocations: 327.6 kB / 436 MB, free: 14.43 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005793/0.2407, allocations: 117.1 kB / 436.1 MB, free: 14.32 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002134/0.2429, allocations: 1.791 MB / 437.9 MB, free: 12.49 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004154/0.2433, allocations: 0.9301 MB / 438.8 MB, free: 11.54 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.2434, allocations: 43.44 kB / 438.8 MB, free: 11.49 MB / 314.7 MB Notification: Performance of SimCode: time 3.01e-07/0.2434, allocations: 0 / 438.8 MB, free: 11.49 MB / 314.7 MB Notification: Performance of Templates: time 0.01273/0.2562, allocations: 10.92 MB / 449.8 MB, free: 0.5977 MB / 314.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & ./Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","../files/Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches