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.0009774/0.0009777, allocations: 96.83 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001108/0.001108, allocations: 205.2 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.431/1.431, allocations: 227.2 MB / 245.9 MB, free: 12.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002174/0.0002174, allocations: 8 kB / 306.6 MB, free: 1.617 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1292, allocations: 51.48 MB / 358.1 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.003113/0.1324, allocations: 2.518 MB / 360.6 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001378/0.1338, allocations: 0.7915 MB / 361.4 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001417/0.1339, allocations: 4 kB / 361.4 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 7.322e-05/0.134, allocations: 39.67 kB / 361.4 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002474/0.1343, allocations: 119.7 kB / 361.5 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002715/0.1346, allocations: 79.84 kB / 361.6 MB, free: 10.56 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003557/0.1349, allocations: 291.3 kB / 361.9 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002073/0.1351, allocations: 98.33 kB / 362 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002735/0.1354, allocations: 147.5 kB / 362.2 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002135/0.1356, allocations: 155.3 kB / 362.3 MB, free: 9.879 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.043e-05/0.1357, allocations: 20 kB / 362.3 MB, free: 9.859 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.603e-05/0.1357, allocations: 20 kB / 362.3 MB, free: 9.84 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.267e-05/0.1358, allocations: 63.73 kB / 362.4 MB, free: 9.777 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.7e-05/0.1359, allocations: 89.52 kB / 362.5 MB, free: 9.684 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003257/0.1362, allocations: 379.1 kB / 362.9 MB, free: 9.312 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.1362, allocations: 0 / 362.9 MB, free: 9.312 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1363, allocations: 4 kB / 362.9 MB, free: 9.309 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.1363, allocations: 0 / 362.9 MB, free: 9.309 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.001317/0.1376, allocations: 0.6758 MB / 363.5 MB, free: 8.578 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/0.1377, allocations: 12.03 kB / 363.6 MB, free: 8.566 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.033e-05/0.1378, allocations: 31.62 kB / 363.6 MB, free: 8.535 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004329/0.1382, allocations: 305.4 kB / 363.9 MB, free: 8.191 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.398e-05/0.1382, allocations: 24.52 kB / 363.9 MB, free: 8.168 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.733e-05/0.1383, allocations: 31.94 kB / 363.9 MB, free: 8.137 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008205/0.1391, allocations: 355.6 kB / 364.3 MB, free: 7.777 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.1391, allocations: 0 / 364.3 MB, free: 7.777 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.645e-05/0.1392, allocations: 12 kB / 364.3 MB, free: 7.766 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/0.1392, allocations: 8 kB / 364.3 MB, free: 7.758 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008955/0.1401, allocations: 334 kB / 364.6 MB, free: 7.43 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002341/0.1425, allocations: 1.314 MB / 365.9 MB, free: 6.027 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006867/0.1432, allocations: 254.4 kB / 366.2 MB, free: 5.77 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/0.1432, allocations: 4 kB / 366.2 MB, free: 5.766 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005231/0.1437, allocations: 205.7 kB / 366.4 MB, free: 5.543 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 2.064e-06/0.1437, allocations: 0 / 366.4 MB, free: 5.543 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.002398/0.1462, allocations: 0.7628 MB / 367.2 MB, free: 4.754 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.977e-05/0.1462, allocations: 106.8 kB / 367.3 MB, free: 4.625 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003663/0.1466, allocations: 298.9 kB / 367.6 MB, free: 4.324 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.272e-05/0.1467, allocations: 25.7 kB / 367.6 MB, free: 4.293 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001878/0.1469, allocations: 219.5 kB / 367.8 MB, free: 4.074 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.219e-05/0.1469, allocations: 47.36 kB / 367.8 MB, free: 4.027 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.512e-05/0.1469, allocations: 4 kB / 367.8 MB, free: 4.023 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.1471, allocations: 334.8 kB / 368.2 MB, free: 3.688 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003788/0.1475, allocations: 127.9 kB / 368.3 MB, free: 3.562 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004158/0.1479, allocations: 227.9 kB / 368.5 MB, free: 3.297 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003783/0.1483, allocations: 161.6 kB / 368.7 MB, free: 3.133 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.1483, allocations: 4 kB / 368.7 MB, free: 3.129 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001248/0.1496, allocations: 0.5192 MB / 369.2 MB, free: 2.594 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.536e-05/0.1496, allocations: 33.7 kB / 369.2 MB, free: 2.555 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.1496, allocations: 0 / 369.2 MB, free: 2.555 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003931/0.15, allocations: 92.8 kB / 369.3 MB, free: 2.461 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000261/0.1503, allocations: 63.95 kB / 369.4 MB, free: 2.398 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002617/0.1529, allocations: 1.877 MB / 371.3 MB, free: 392 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003974/0.1534, allocations: 63.81 kB / 371.3 MB, free: 328 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.416e-05/0.1534, allocations: 8 kB / 371.3 MB, free: 320 kB / 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 ($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.0003023/0.1537, allocations: 158.3 kB / 371.5 MB, free: 152 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.61e-05/0.1538, allocations: 31.58 kB / 371.5 MB, free: 120 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.769e-05/0.1538, allocations: 29.8 kB / 371.5 MB, free: 88 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.1538, allocations: 4 kB / 371.6 MB, free: 84 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.1538, allocations: 4 kB / 371.6 MB, free: 80 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.1539, allocations: 0 / 371.6 MB, free: 80 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2534/0.4072, allocations: 333.2 kB / 371.9 MB, free: 19.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.348e-05/0.4073, allocations: 1.156 kB / 371.9 MB, free: 19.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003878/0.4077, allocations: 36.06 kB / 371.9 MB, free: 19.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005186/0.4082, allocations: 86.86 kB / 372 MB, free: 19.65 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.712e-05/0.4083, allocations: 7.688 kB / 372 MB, free: 19.65 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002964/0.4113, allocations: 1.746 MB / 373.8 MB, free: 18.41 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.4113, allocations: 2.625 kB / 373.8 MB, free: 18.41 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001954/0.4132, allocations: 0.5462 MB / 374.3 MB, free: 18.34 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001202/0.4134, allocations: 99.25 kB / 374.4 MB, free: 18.25 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.689e-05/0.4135, allocations: 9.719 kB / 374.4 MB, free: 18.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003558/0.4138, allocations: 44.08 kB / 374.5 MB, free: 18.25 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.55e-05/0.4139, allocations: 27.19 kB / 374.5 MB, free: 18.25 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.777e-05/0.414, allocations: 5.094 kB / 374.5 MB, free: 18.25 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002516/0.4142, allocations: 206.2 kB / 374.7 MB, free: 18.17 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4142, allocations: 0 / 374.7 MB, free: 18.17 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004454/0.4147, allocations: 85.98 kB / 374.8 MB, free: 18.17 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 (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.0001529/0.4148, allocations: 112.4 kB / 374.9 MB, free: 18.08 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001393/0.4162, allocations: 477.1 kB / 375.3 MB, free: 17.91 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.4162, allocations: 0 / 375.3 MB, free: 17.91 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007293/0.417, allocations: 259.2 kB / 375.6 MB, free: 17.8 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004591/0.4175, allocations: 43.39 kB / 375.6 MB, free: 17.8 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001458/0.4189, allocations: 0.7007 MB / 376.3 MB, free: 17.42 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003081/0.4192, allocations: 0.7739 MB / 377.1 MB, free: 16.72 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001534/0.4194, allocations: 33.25 kB / 377.1 MB, free: 16.7 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.53e-05/0.4195, allocations: 21.62 kB / 377.2 MB, free: 16.7 MB / 302.1 MB Notification: Performance of SimCode: time 4.3e-07/0.4195, allocations: 0 / 377.2 MB, free: 16.7 MB / 302.1 MB Notification: Performance of Templates: time 0.01059/0.4301, allocations: 3.896 MB / 381.1 MB, free: 16.46 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","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches