Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.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.HighPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|derivative.c.v|derivative.opAmp.out.v|derivative.opAmp.out.i",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|derivative.c.v|derivative.opAmp.out.v|derivative.opAmp.out.i",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000923/0.0009231, allocations: 197.3 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.367/1.367, allocations: 226.6 MB / 244.3 MB, free: 8.305 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007332/0.0007334, allocations: 98.67 kB / 296.4 MB, free: 7 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002863/0.0002863, allocations: 8 kB / 356.2 MB, free: 11.19 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2267/0.227, allocations: 51.29 MB / 407.5 MB, free: 27.81 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.00253/0.2295, allocations: 2.634 MB / 410.1 MB, free: 25.16 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009732/0.2305, allocations: 0.7578 MB / 410.9 MB, free: 24.41 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001367/0.2307, allocations: 4 kB / 410.9 MB, free: 24.41 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001251/0.2308, allocations: 39.69 kB / 410.9 MB, free: 24.37 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001469/0.231, allocations: 99 kB / 411 MB, free: 24.27 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002293/0.2312, allocations: 75.91 kB / 411.1 MB, free: 24.2 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002644/0.2315, allocations: 406.3 kB / 411.5 MB, free: 23.8 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002064/0.2317, allocations: 101.8 kB / 411.6 MB, free: 23.7 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002725/0.232, allocations: 151.4 kB / 411.8 MB, free: 23.55 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001447/0.2321, allocations: 162 kB / 411.9 MB, free: 23.39 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.982e-05/0.2322, allocations: 16 kB / 411.9 MB, free: 23.38 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.688e-05/0.2322, allocations: 20 kB / 411.9 MB, free: 23.36 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.035e-05/0.2323, allocations: 67.62 kB / 412 MB, free: 23.29 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.077e-05/0.2324, allocations: 89.52 kB / 412.1 MB, free: 23.2 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002382/0.2326, allocations: 379.9 kB / 412.5 MB, free: 22.83 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2326, allocations: 0 / 412.5 MB, free: 22.83 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2326, allocations: 0 / 412.5 MB, free: 22.83 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.2326, allocations: 1.594 kB / 412.5 MB, free: 22.83 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.001141/0.2338, allocations: 0.6761 MB / 413.2 MB, free: 22.1 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.2338, allocations: 8.031 kB / 413.2 MB, free: 22.09 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.284e-05/0.2339, allocations: 39.61 kB / 413.2 MB, free: 22.05 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002793/0.2342, allocations: 297.5 kB / 413.5 MB, free: 21.72 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/0.2342, allocations: 24.52 kB / 413.5 MB, free: 21.7 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.661e-05/0.2343, allocations: 31.98 kB / 413.5 MB, free: 21.67 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006642/0.2349, allocations: 355.6 kB / 413.9 MB, free: 21.31 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.235, allocations: 4 kB / 413.9 MB, free: 21.31 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.915e-05/0.235, allocations: 8 kB / 413.9 MB, free: 21.3 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.235, allocations: 12 kB / 413.9 MB, free: 21.29 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007641/0.2358, allocations: 330 kB / 414.2 MB, free: 20.96 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001865/0.2377, allocations: 1.329 MB / 415.6 MB, free: 19.55 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006253/0.2383, allocations: 250.4 kB / 415.8 MB, free: 19.29 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003253/0.2386, allocations: 124.8 kB / 415.9 MB, free: 19.17 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.301e-05/0.2387, allocations: 8 kB / 415.9 MB, free: 19.16 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004663/0.2391, allocations: 209 kB / 416.1 MB, free: 18.94 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 2.544e-06/0.2392, allocations: 0 / 416.1 MB, free: 18.94 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.002122/0.2413, allocations: 0.7682 MB / 416.9 MB, free: 18.14 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.83e-05/0.2414, allocations: 106.8 kB / 417 MB, free: 18.01 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002432/0.2416, allocations: 298.9 kB / 417.3 MB, free: 17.71 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.2416, allocations: 29.7 kB / 417.3 MB, free: 17.68 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.2418, allocations: 207.5 kB / 417.5 MB, free: 17.47 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.641e-05/0.2418, allocations: 47.36 kB / 417.6 MB, free: 17.42 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.22e-05/0.2418, allocations: 4 kB / 417.6 MB, free: 17.42 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.735e-05/0.2419, allocations: 338.8 kB / 417.9 MB, free: 17.08 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003248/0.2422, allocations: 123.9 kB / 418 MB, free: 16.96 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003526/0.2426, allocations: 227.9 kB / 418.3 MB, free: 16.69 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003341/0.2429, allocations: 167.9 kB / 418.4 MB, free: 16.52 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.2429, allocations: 0 / 418.4 MB, free: 16.52 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.00109/0.244, allocations: 0.5114 MB / 418.9 MB, free: 16 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.669e-05/0.2441, allocations: 41.69 kB / 419 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.2441, allocations: 4 kB / 419 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000366/0.2445, allocations: 92.86 kB / 419.1 MB, free: 15.85 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002342/0.2447, allocations: 63.84 kB / 419.1 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00201/0.2467, allocations: 1.842 MB / 421 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003205/0.2471, allocations: 67.77 kB / 421 MB, free: 13.74 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.1e-05/0.2471, allocations: 8 kB / 421.1 MB, free: 13.73 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 (26): * Single equations (assignments): 24 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001356/0.2472, allocations: 153.7 kB / 421.2 MB, free: 13.57 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.333e-05/0.2473, allocations: 31.67 kB / 421.2 MB, free: 13.54 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.108e-05/0.2473, allocations: 25.86 kB / 421.3 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.2473, allocations: 4 kB / 421.3 MB, free: 13.51 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.013e-06/0.2473, allocations: 0 / 421.3 MB, free: 13.51 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.2473, allocations: 4 kB / 421.3 MB, free: 13.51 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000234/0.2476, allocations: 337.3 kB / 421.6 MB, free: 13.13 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.2476, allocations: 0 / 421.6 MB, free: 13.13 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001804/0.2478, allocations: 39.91 kB / 421.6 MB, free: 13.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002415/0.248, allocations: 84.92 kB / 421.7 MB, free: 13 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.937e-05/0.2481, allocations: 15.95 kB / 421.7 MB, free: 12.99 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001687/0.2497, allocations: 1.71 MB / 423.4 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2498, allocations: 0 / 423.4 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001254/0.251, allocations: 0.5396 MB / 424 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.888e-05/0.2511, allocations: 108.8 kB / 424.1 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.381e-05/0.2511, allocations: 4 kB / 424.1 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000246/0.2514, allocations: 47.97 kB / 424.1 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.709e-05/0.2515, allocations: 23.95 kB / 424.2 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.2515, allocations: 4 kB / 424.2 MB, free: 10.38 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001538/0.2516, allocations: 206 kB / 424.4 MB, free: 10.18 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2516, allocations: 0 / 424.4 MB, free: 10.18 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003195/0.252, allocations: 95.78 kB / 424.5 MB, free: 10.09 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (derivative.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 (11): * Single equations (assignments): 8 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001207/0.2521, allocations: 95.25 kB / 424.6 MB, free: 9.984 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008427/0.2529, allocations: 481.7 kB / 425 MB, free: 9.488 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.253, allocations: 0 / 425 MB, free: 9.488 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004338/0.2534, allocations: 259.2 kB / 425.3 MB, free: 9.223 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003442/0.2537, allocations: 57.86 kB / 425.3 MB, free: 9.172 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.2548, allocations: 0.7303 MB / 426.1 MB, free: 8.414 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002034/0.255, allocations: 0.7643 MB / 426.8 MB, free: 7.625 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.89e-05/0.2551, allocations: 23.44 kB / 426.9 MB, free: 7.602 MB / 298.7 MB Notification: Performance of SimCode: time 4.91e-07/0.2551, allocations: 0 / 426.9 MB, free: 7.602 MB / 298.7 MB Notification: Performance of Templates: time 0.005416/0.2606, allocations: 5.147 MB / 432 MB, free: 2.477 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & ./Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/HighPass/HighPass.csv","../files/Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches