Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.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.OpAmps.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|firstOrder.c.v|firstOrder.opAmp.out.v|firstOrder.opAmp.out.i",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|firstOrder.c.v|firstOrder.opAmp.out.v|firstOrder.opAmp.out.i",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009517/0.0009518, allocations: 191.6 kB / 17.37 MB, free: 4.434 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.303/1.303, allocations: 226.6 MB / 244.7 MB, free: 6.461 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007307/0.0007308, allocations: 85.7 kB / 296.8 MB, free: 6.672 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002329/0.0002329, allocations: 8 kB / 356.8 MB, free: 10.67 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2003/0.2006, allocations: 51.3 MB / 408.1 MB, free: 27.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.00229/0.2029, allocations: 2.641 MB / 410.7 MB, free: 25.03 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001004/0.204, allocations: 0.7554 MB / 411.5 MB, free: 24.27 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000142/0.2041, allocations: 4 kB / 411.5 MB, free: 24.27 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001247/0.2043, allocations: 36.44 kB / 411.5 MB, free: 24.23 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001587/0.2044, allocations: 96.52 kB / 411.6 MB, free: 24.14 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002376/0.2047, allocations: 81.61 kB / 411.7 MB, free: 24.06 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002872/0.205, allocations: 414 kB / 412.1 MB, free: 23.66 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001988/0.2052, allocations: 124.1 kB / 412.2 MB, free: 23.54 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002099/0.2054, allocations: 151.3 kB / 412.3 MB, free: 23.39 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001485/0.2056, allocations: 154.8 kB / 412.5 MB, free: 23.24 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.797e-05/0.2056, allocations: 20 kB / 412.5 MB, free: 23.22 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.52e-05/0.2057, allocations: 20 kB / 412.5 MB, free: 23.2 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.563e-05/0.2057, allocations: 63.69 kB / 412.6 MB, free: 23.14 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001246/0.2058, allocations: 184.9 kB / 412.8 MB, free: 22.95 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002256/0.2061, allocations: 383.8 kB / 413.2 MB, free: 22.57 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2061, allocations: 0 / 413.2 MB, free: 22.57 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2061, allocations: 0 / 413.2 MB, free: 22.57 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.2061, allocations: 0 / 413.2 MB, free: 22.57 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001042/0.2071, allocations: 0.6721 MB / 413.8 MB, free: 21.85 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.2072, allocations: 8.031 kB / 413.8 MB, free: 21.84 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.838e-05/0.2073, allocations: 40.5 kB / 413.9 MB, free: 21.8 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002964/0.2076, allocations: 306.7 kB / 414.2 MB, free: 21.46 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.414e-05/0.2076, allocations: 24.94 kB / 414.2 MB, free: 21.43 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.248e-05/0.2076, allocations: 28.38 kB / 414.2 MB, free: 21.41 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000646/0.2083, allocations: 367.5 kB / 414.6 MB, free: 21.04 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.2083, allocations: 3.938 kB / 414.6 MB, free: 21.04 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.092e-05/0.2084, allocations: 12 kB / 414.6 MB, free: 21.02 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.2084, allocations: 4 kB / 414.6 MB, free: 21.02 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007317/0.2091, allocations: 334 kB / 414.9 MB, free: 20.7 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001772/0.2109, allocations: 1.299 MB / 416.2 MB, free: 19.31 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006827/0.2116, allocations: 371.4 kB / 416.6 MB, free: 18.92 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003606/0.212, allocations: 156.8 kB / 416.7 MB, free: 18.76 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.737e-05/0.212, allocations: 4 kB / 416.7 MB, free: 18.76 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004355/0.2124, allocations: 213.8 kB / 417 MB, free: 18.53 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 2.034e-06/0.2125, allocations: 0 / 417 MB, free: 18.53 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.001854/0.2143, allocations: 0.7123 MB / 417.7 MB, free: 17.79 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/0.2144, allocations: 110.8 kB / 417.8 MB, free: 17.66 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002456/0.2146, allocations: 299.1 kB / 418.1 MB, free: 17.36 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/0.2146, allocations: 33.7 kB / 418.1 MB, free: 17.32 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.161e-05/0.2147, allocations: 208 kB / 418.3 MB, free: 17.11 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.444e-05/0.2148, allocations: 51.25 kB / 418.4 MB, free: 17.05 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.571e-05/0.2148, allocations: 8 kB / 418.4 MB, free: 17.05 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.932e-05/0.2148, allocations: 330.8 kB / 418.7 MB, free: 16.71 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003318/0.2152, allocations: 140.2 kB / 418.8 MB, free: 16.58 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003458/0.2155, allocations: 233.3 kB / 419.1 MB, free: 16.31 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006276/0.2162, allocations: 370.8 kB / 419.4 MB, free: 15.91 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.2162, allocations: 4 kB / 419.4 MB, free: 15.9 MB / 298.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001077/0.2173, allocations: 0.5036 MB / 419.9 MB, free: 15.38 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.759e-05/0.2173, allocations: 37.7 kB / 420 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/0.2173, allocations: 7.984 kB / 420 MB, free: 15.33 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002845/0.2176, allocations: 64.89 kB / 420 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002717/0.2179, allocations: 75.88 kB / 420.1 MB, free: 15.19 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002026/0.2199, allocations: 1.752 MB / 421.9 MB, free: 13.3 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003161/0.2203, allocations: 67.8 kB / 421.9 MB, free: 13.24 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.271e-05/0.2203, allocations: 8 kB / 421.9 MB, free: 13.23 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 1 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001246/0.2204, allocations: 156.4 kB / 422.1 MB, free: 13.07 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.237e-05/0.2205, allocations: 35.64 kB / 422.1 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.381e-05/0.2205, allocations: 30.2 kB / 422.1 MB, free: 13 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.2205, allocations: 4.094 kB / 422.1 MB, free: 13 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.2205, allocations: 3.938 kB / 422.2 MB, free: 13 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.2205, allocations: 0 / 422.2 MB, free: 13 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00127/0.2218, allocations: 0.8393 MB / 423 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.2218, allocations: 0 / 423 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002088/0.222, allocations: 47.97 kB / 423 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001944/0.2222, allocations: 72.84 kB / 423.1 MB, free: 11.97 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.703e-05/0.2223, allocations: 4 kB / 423.1 MB, free: 11.97 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001373/0.2237, allocations: 1.549 MB / 424.7 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.2237, allocations: 0 / 424.7 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001219/0.2249, allocations: 0.6139 MB / 425.3 MB, free: 9.648 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.382e-05/0.225, allocations: 108.7 kB / 425.4 MB, free: 9.523 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.803e-05/0.225, allocations: 7.984 kB / 425.4 MB, free: 9.516 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002711/0.2253, allocations: 40.03 kB / 425.4 MB, free: 9.477 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.311e-05/0.2254, allocations: 27.91 kB / 425.5 MB, free: 9.449 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/0.2254, allocations: 8 kB / 425.5 MB, free: 9.441 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001583/0.2255, allocations: 209.9 kB / 425.7 MB, free: 9.238 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2256, allocations: 4 kB / 425.7 MB, free: 9.234 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003745/0.2259, allocations: 83.75 kB / 425.8 MB, free: 9.152 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (firstOrder.c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001141/0.2261, allocations: 103.2 kB / 425.9 MB, free: 9.043 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001136/0.2272, allocations: 0.5397 MB / 426.4 MB, free: 8.48 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.2272, allocations: 0 / 426.4 MB, free: 8.48 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003874/0.2276, allocations: 251.2 kB / 426.6 MB, free: 8.223 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003996/0.228, allocations: 56.23 kB / 426.7 MB, free: 8.172 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00222/0.2302, allocations: 1.019 MB / 427.7 MB, free: 7.117 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001429/0.2304, allocations: 0.7639 MB / 428.5 MB, free: 6.328 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.573e-05/0.2305, allocations: 23.44 kB / 428.5 MB, free: 6.305 MB / 298.7 MB Notification: Performance of SimCode: time 4.11e-07/0.2305, allocations: 0 / 428.5 MB, free: 6.305 MB / 298.7 MB Notification: Performance of Templates: time 0.005233/0.2357, allocations: 5.225 MB / 433.7 MB, free: 1.113 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","../files/Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches