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.00114/0.00114, allocations: 116.9 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001113/0.001113, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.681/1.681, allocations: 227.4 MB / 247.5 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001213, allocations: 67.55 kB / 308.4 MB, free: 15.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.13, allocations: 50.53 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.005328/0.1354, allocations: 3.082 MB / 362 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001898/0.1373, allocations: 0.8065 MB / 362.8 MB, free: 9.438 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003347/0.1377, allocations: 4 kB / 362.8 MB, free: 9.434 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002717/0.138, allocations: 59.44 kB / 362.9 MB, free: 9.375 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002878/0.1383, allocations: 107.1 kB / 363 MB, free: 9.27 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000541/0.1389, allocations: 119.8 kB / 363.1 MB, free: 9.152 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007126/0.1396, allocations: 462.2 kB / 363.5 MB, free: 8.699 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004001/0.14, allocations: 146.8 kB / 363.7 MB, free: 8.559 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004686/0.1405, allocations: 183.3 kB / 363.9 MB, free: 8.379 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002845/0.1408, allocations: 195.2 kB / 364.1 MB, free: 8.188 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.952e-05/0.1409, allocations: 44 kB / 364.1 MB, free: 8.145 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.409e-05/0.1409, allocations: 44 kB / 364.1 MB, free: 8.102 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.039e-05/0.141, allocations: 87.69 kB / 364.2 MB, free: 8.016 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002272/0.1413, allocations: 199 kB / 364.4 MB, free: 7.82 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005839/0.1419, allocations: 494.4 kB / 364.9 MB, free: 7.336 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.1419, allocations: 0 / 364.9 MB, free: 7.336 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1419, allocations: 0 / 364.9 MB, free: 7.336 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.1419, allocations: 0 / 364.9 MB, free: 7.336 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.001577/0.1435, allocations: 0.7148 MB / 365.6 MB, free: 6.566 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/0.1435, allocations: 8.031 kB / 365.6 MB, free: 6.559 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001032/0.1437, allocations: 36.56 kB / 365.7 MB, free: 6.523 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000545/0.1442, allocations: 314.7 kB / 366 MB, free: 6.172 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.984e-05/0.1442, allocations: 20.94 kB / 366 MB, free: 6.148 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.672e-05/0.1443, allocations: 32.36 kB / 366 MB, free: 6.117 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007935/0.1451, allocations: 351.5 kB / 366.4 MB, free: 5.762 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.1451, allocations: 0 / 366.4 MB, free: 5.762 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.461e-05/0.1452, allocations: 16 kB / 366.4 MB, free: 5.746 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/0.1452, allocations: 8 kB / 366.4 MB, free: 5.738 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008108/0.146, allocations: 298 kB / 366.7 MB, free: 5.449 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002308/0.1483, allocations: 1.274 MB / 367.9 MB, free: 4.086 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006774/0.149, allocations: 226.4 kB / 368.2 MB, free: 3.855 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003244/0.1494, allocations: 108.8 kB / 368.3 MB, free: 3.746 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.37e-05/0.1494, allocations: 15.97 kB / 368.3 MB, free: 3.73 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004935/0.1499, allocations: 189.8 kB / 368.5 MB, free: 3.523 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 3.687e-06/0.1499, allocations: 0 / 368.5 MB, free: 3.523 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.002276/0.1522, allocations: 0.6823 MB / 369.2 MB, free: 2.812 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.665e-05/0.1523, allocations: 110.8 kB / 369.3 MB, free: 2.68 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003469/0.1526, allocations: 298.9 kB / 369.6 MB, free: 2.375 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.932e-05/0.1527, allocations: 29.7 kB / 369.6 MB, free: 2.34 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001553/0.1528, allocations: 211.5 kB / 369.8 MB, free: 2.129 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.618e-05/0.1529, allocations: 47.3 kB / 369.8 MB, free: 2.082 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.535e-05/0.153, allocations: 49.7 kB / 369.9 MB, free: 2.027 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.1532, allocations: 342.8 kB / 370.2 MB, free: 1.684 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003451/0.1535, allocations: 115.9 kB / 370.3 MB, free: 1.57 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004872/0.154, allocations: 211.9 kB / 370.5 MB, free: 1.32 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007204/0.1547, allocations: 326.1 kB / 370.9 MB, free: 0.9609 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.1548, allocations: 0 / 370.9 MB, free: 0.9609 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001266/0.156, allocations: 491.6 kB / 371.3 MB, free: 476 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.781e-05/0.1561, allocations: 39.83 kB / 371.4 MB, free: 432 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.1561, allocations: 4 kB / 371.4 MB, free: 428 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004295/0.1565, allocations: 88.8 kB / 371.5 MB, free: 336 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002694/0.1568, allocations: 55.89 kB / 371.5 MB, free: 280 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2417/0.3985, allocations: 1.985 MB / 373.5 MB, free: 18.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000482/0.399, allocations: 59.47 kB / 373.6 MB, free: 18.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.822e-05/0.3991, allocations: 13.17 kB / 373.6 MB, free: 18.73 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.0001953/0.3993, allocations: 160 kB / 373.7 MB, free: 18.61 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.635e-05/0.3993, allocations: 27.98 kB / 373.8 MB, free: 18.61 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.983e-05/0.3994, allocations: 28.75 kB / 373.8 MB, free: 18.61 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.3994, allocations: 6.188 kB / 373.8 MB, free: 18.6 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.3994, allocations: 1 kB / 373.8 MB, free: 18.6 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.3994, allocations: 3.844 kB / 373.8 MB, free: 18.6 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003762/0.3998, allocations: 342.2 kB / 374.1 MB, free: 18.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.3998, allocations: 1.438 kB / 374.1 MB, free: 18.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002036/0.4, allocations: 29.95 kB / 374.2 MB, free: 18.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003204/0.4004, allocations: 82.83 kB / 374.3 MB, free: 18.41 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.056e-05/0.4004, allocations: 7.141 kB / 374.3 MB, free: 18.41 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00212/0.4025, allocations: 1.819 MB / 376.1 MB, free: 17.07 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.4025, allocations: 0 / 376.1 MB, free: 17.07 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001526/0.4041, allocations: 499.6 kB / 376.6 MB, free: 16.98 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001145/0.4042, allocations: 101.6 kB / 376.7 MB, free: 16.87 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.58e-05/0.4042, allocations: 10.42 kB / 376.7 MB, free: 16.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002715/0.4045, allocations: 35.06 kB / 376.7 MB, free: 16.86 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.4046, allocations: 19.14 kB / 376.7 MB, free: 16.86 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.037e-05/0.4047, allocations: 7.688 kB / 376.7 MB, free: 16.86 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002611/0.4049, allocations: 208.4 kB / 376.9 MB, free: 16.74 MB / 302.1 MB Notification: Performance of sort global known variables: time 9.92e-07/0.4049, allocations: 0 / 376.9 MB, free: 16.74 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004909/0.4054, allocations: 90.67 kB / 377 MB, free: 16.73 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.0001578/0.4056, allocations: 101.9 kB / 377.1 MB, free: 16.64 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000998/0.4066, allocations: 450.6 kB / 377.6 MB, free: 16.4 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.4066, allocations: 1.375 kB / 377.6 MB, free: 16.4 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000441/0.4071, allocations: 247.5 kB / 377.8 MB, free: 16.25 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003701/0.4074, allocations: 53.86 kB / 377.9 MB, free: 16.23 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.4086, allocations: 0.5872 MB / 378.4 MB, free: 15.91 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002075/0.4089, allocations: 0.7649 MB / 379.2 MB, free: 15.21 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001205/0.409, allocations: 29.92 kB / 379.2 MB, free: 15.2 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.177e-05/0.4091, allocations: 23.05 kB / 379.3 MB, free: 15.2 MB / 302.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4091, allocations: 0 / 379.3 MB, free: 15.2 MB / 302.1 MB Notification: Performance of Templates: time 0.01228/0.4213, allocations: 4.431 MB / 383.7 MB, free: 14.92 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/HighPass/HighPass.csv","/var/lib/jenkins1/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