Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_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_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009195/0.0009194, allocations: 95 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001215/0.001215, allocations: 202.2 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.625/1.625, allocations: 227.7 MB / 246.8 MB, free: 11.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003219/0.0003219, allocations: 11.98 kB / 307.8 MB, free: 0.7773 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1331, allocations: 51.51 MB / 359.3 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.004143/0.1373, allocations: 2.765 MB / 362 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001698/0.139, allocations: 0.7911 MB / 362.8 MB, free: 9.691 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001641/0.1392, allocations: 4 kB / 362.8 MB, free: 9.688 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001784/0.1394, allocations: 39.69 kB / 362.9 MB, free: 9.648 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002204/0.1396, allocations: 99.23 kB / 363 MB, free: 9.551 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003697/0.14, allocations: 107.9 kB / 363.1 MB, free: 9.445 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005177/0.1405, allocations: 426.3 kB / 363.5 MB, free: 9.027 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000281/0.1408, allocations: 127.5 kB / 363.6 MB, free: 8.902 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002901/0.1411, allocations: 151.3 kB / 363.8 MB, free: 8.754 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002207/0.1413, allocations: 167.2 kB / 363.9 MB, free: 8.59 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.195e-05/0.1414, allocations: 16 kB / 363.9 MB, free: 8.574 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.68e-05/0.1414, allocations: 20 kB / 364 MB, free: 8.555 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.294e-05/0.1415, allocations: 55.7 kB / 364 MB, free: 8.5 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001928/0.1417, allocations: 192.8 kB / 364.2 MB, free: 8.305 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004551/0.1422, allocations: 466.5 kB / 364.7 MB, free: 7.848 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.1422, allocations: 8 kB / 364.7 MB, free: 7.84 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1422, allocations: 0 / 364.7 MB, free: 7.84 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.227e-05/0.1422, allocations: 0 / 364.7 MB, free: 7.84 MB / 302.1 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.001447/0.1436, allocations: 0.6682 MB / 365.3 MB, free: 7.117 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/0.1437, allocations: 12.03 kB / 365.4 MB, free: 7.105 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.594e-05/0.1438, allocations: 40.5 kB / 365.4 MB, free: 7.066 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004483/0.1443, allocations: 310.6 kB / 365.7 MB, free: 6.719 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.008e-05/0.1443, allocations: 16.94 kB / 365.7 MB, free: 6.699 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.24e-05/0.1444, allocations: 32.38 kB / 365.7 MB, free: 6.668 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008339/0.1452, allocations: 367.5 kB / 366.1 MB, free: 6.301 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.1452, allocations: 3.938 kB / 366.1 MB, free: 6.297 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.89e-05/0.1453, allocations: 12 kB / 366.1 MB, free: 6.285 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.1453, allocations: 4 kB / 366.1 MB, free: 6.281 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009026/0.1462, allocations: 330.1 kB / 366.4 MB, free: 5.957 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002444/0.1487, allocations: 1.325 MB / 367.8 MB, free: 4.543 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007614/0.1494, allocations: 254.4 kB / 368 MB, free: 4.285 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003812/0.1498, allocations: 129 kB / 368.1 MB, free: 4.156 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.562e-05/0.1499, allocations: 11.98 kB / 368.2 MB, free: 4.145 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006086/0.1505, allocations: 201.8 kB / 368.4 MB, free: 3.926 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 2.164e-06/0.1505, allocations: 8 kB / 368.4 MB, free: 3.918 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.002605/0.1531, allocations: 0.759 MB / 369.1 MB, free: 3.133 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.036e-05/0.1532, allocations: 114.8 kB / 369.2 MB, free: 2.996 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003593/0.1536, allocations: 290.9 kB / 369.5 MB, free: 2.703 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.034e-05/0.1536, allocations: 29.7 kB / 369.5 MB, free: 2.668 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001578/0.1538, allocations: 207.5 kB / 369.7 MB, free: 2.461 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.637e-05/0.1539, allocations: 59.27 kB / 369.8 MB, free: 2.402 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.032e-05/0.1539, allocations: 25.72 kB / 369.8 MB, free: 2.371 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.1541, allocations: 342.7 kB / 370.2 MB, free: 2.027 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003715/0.1545, allocations: 127.9 kB / 370.3 MB, free: 1.902 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000449/0.1549, allocations: 227.9 kB / 370.5 MB, free: 1.637 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008037/0.1558, allocations: 358.1 kB / 370.9 MB, free: 1.246 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.1558, allocations: 0 / 370.9 MB, free: 1.246 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001389/0.1572, allocations: 0.5178 MB / 371.4 MB, free: 0.7148 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.995e-05/0.1572, allocations: 41.58 kB / 371.4 MB, free: 0.668 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.527e-06/0.1572, allocations: 4 kB / 371.4 MB, free: 0.6641 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004147/0.1577, allocations: 92.86 kB / 371.5 MB, free: 0.5703 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002686/0.1579, allocations: 63.89 kB / 371.6 MB, free: 0.5078 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3137/0.4717, allocations: 1.829 MB / 373.4 MB, free: 18.04 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000637/0.4724, allocations: 65.06 kB / 373.5 MB, free: 18.04 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-05/0.4724, allocations: 13.83 kB / 373.5 MB, free: 18.04 MB / 302.1 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 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * 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 (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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002711/0.4727, allocations: 162.5 kB / 373.6 MB, free: 17.92 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.304e-05/0.4728, allocations: 28.44 kB / 373.7 MB, free: 17.92 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.709e-05/0.4729, allocations: 27.97 kB / 373.7 MB, free: 17.91 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.4729, allocations: 2.219 kB / 373.7 MB, free: 17.91 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.4729, allocations: 0.5625 kB / 373.7 MB, free: 17.91 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.4729, allocations: 1.594 kB / 373.7 MB, free: 17.91 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005163/0.4735, allocations: 344.7 kB / 374 MB, free: 17.72 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.4735, allocations: 3.844 kB / 374 MB, free: 17.72 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003036/0.4738, allocations: 39.61 kB / 374.1 MB, free: 17.72 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004751/0.4743, allocations: 86.98 kB / 374.2 MB, free: 17.71 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.413e-05/0.4743, allocations: 2.922 kB / 374.2 MB, free: 17.71 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003111/0.4774, allocations: 1.706 MB / 375.9 MB, free: 16.47 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.4775, allocations: 0.5312 kB / 375.9 MB, free: 16.47 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002595/0.4801, allocations: 0.5483 MB / 376.4 MB, free: 16.4 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.4802, allocations: 109 kB / 376.5 MB, free: 16.3 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.405e-05/0.4803, allocations: 5.484 kB / 376.5 MB, free: 16.3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003989/0.4807, allocations: 41.77 kB / 376.6 MB, free: 16.3 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001249/0.4808, allocations: 20.67 kB / 376.6 MB, free: 16.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.706e-05/0.4808, allocations: 9.875 kB / 376.6 MB, free: 16.3 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004774/0.4813, allocations: 208.2 kB / 376.8 MB, free: 16.22 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.4813, allocations: 0 / 376.8 MB, free: 16.22 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008331/0.4822, allocations: 84.39 kB / 376.9 MB, free: 16.21 MB / 302.1 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 (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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002242/0.4824, allocations: 109.5 kB / 377 MB, free: 16.12 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001639/0.4841, allocations: 477.2 kB / 377.5 MB, free: 15.94 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.4841, allocations: 5.562 kB / 377.5 MB, free: 15.94 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007317/0.4848, allocations: 254 kB / 377.7 MB, free: 15.82 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005813/0.4854, allocations: 54.53 kB / 377.8 MB, free: 15.81 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002059/0.4875, allocations: 0.7352 MB / 378.5 MB, free: 15.38 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004279/0.488, allocations: 0.769 MB / 379.3 MB, free: 14.68 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002152/0.4882, allocations: 28.8 kB / 379.3 MB, free: 14.67 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.606e-05/0.4883, allocations: 21.72 kB / 379.3 MB, free: 14.66 MB / 302.1 MB Notification: Performance of SimCode: time 1.092e-06/0.4883, allocations: 4 kB / 379.3 MB, free: 14.66 MB / 302.1 MB Notification: Performance of Templates: time 0.01457/0.5029, allocations: 4.028 MB / 383.4 MB, free: 14.4 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches