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.001146/0.001146, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001484/0.001485, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.394/1.394, allocations: 227.4 MB / 246.8 MB, free: 10.58 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 64.36 kB / 307 MB, free: 0.6016 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1302, allocations: 50.53 MB / 357.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.005193/0.1354, allocations: 3.094 MB / 360.6 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001824/0.1373, allocations: 0.7948 MB / 361.4 MB, free: 10.15 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003602/0.1377, allocations: 7.938 kB / 361.4 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002562/0.138, allocations: 55.5 kB / 361.4 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004294/0.1384, allocations: 115 kB / 361.5 MB, free: 9.977 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004564/0.1389, allocations: 131.8 kB / 361.7 MB, free: 9.848 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006752/0.1396, allocations: 446.3 kB / 362.1 MB, free: 9.41 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003015/0.1399, allocations: 150.8 kB / 362.3 MB, free: 9.266 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004321/0.1404, allocations: 175.4 kB / 362.4 MB, free: 9.094 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003453/0.1407, allocations: 199.1 kB / 362.6 MB, free: 8.898 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.283e-05/0.1408, allocations: 44 kB / 362.7 MB, free: 8.855 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.929e-05/0.1409, allocations: 44 kB / 362.7 MB, free: 8.812 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.226e-05/0.141, allocations: 83.69 kB / 362.8 MB, free: 8.73 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002279/0.1413, allocations: 195.1 kB / 363 MB, free: 8.539 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005289/0.1418, allocations: 494.7 kB / 363.5 MB, free: 8.055 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.1418, allocations: 0 / 363.5 MB, free: 8.055 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1418, allocations: 0 / 363.5 MB, free: 8.055 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.853e-05/0.1419, allocations: 4 kB / 363.5 MB, free: 8.051 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.001751/0.1436, allocations: 0.7109 MB / 364.2 MB, free: 7.285 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.1437, allocations: 16.03 kB / 364.2 MB, free: 7.27 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001099/0.1438, allocations: 32.56 kB / 364.2 MB, free: 7.238 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004468/0.1442, allocations: 310.6 kB / 364.5 MB, free: 6.891 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.892e-05/0.1443, allocations: 20.94 kB / 364.5 MB, free: 6.867 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.816e-05/0.1443, allocations: 28.38 kB / 364.6 MB, free: 6.84 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008282/0.1452, allocations: 355.5 kB / 364.9 MB, free: 6.48 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.1452, allocations: 3.984 kB / 364.9 MB, free: 6.477 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.671e-05/0.1453, allocations: 15.94 kB / 364.9 MB, free: 6.461 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.257e-05/0.1453, allocations: 8 kB / 365 MB, free: 6.453 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008612/0.1461, allocations: 298.1 kB / 365.2 MB, free: 6.164 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002466/0.1486, allocations: 1.278 MB / 366.5 MB, free: 4.801 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007145/0.1493, allocations: 234.3 kB / 366.7 MB, free: 4.562 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003443/0.1497, allocations: 112.8 kB / 366.9 MB, free: 4.449 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.96e-05/0.1497, allocations: 4 kB / 366.9 MB, free: 4.445 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000676/0.1504, allocations: 193.8 kB / 367.1 MB, free: 4.234 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 2.725e-06/0.1504, allocations: 0 / 367.1 MB, free: 4.234 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.002638/0.1531, allocations: 0.681 MB / 367.7 MB, free: 3.527 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.955e-05/0.1532, allocations: 114.8 kB / 367.8 MB, free: 3.391 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004223/0.1536, allocations: 290.9 kB / 368.1 MB, free: 3.094 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.847e-05/0.1537, allocations: 29.7 kB / 368.2 MB, free: 3.059 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002014/0.1539, allocations: 211.5 kB / 368.4 MB, free: 2.848 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.43e-05/0.154, allocations: 51.28 kB / 368.4 MB, free: 2.797 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001327/0.1541, allocations: 49.7 kB / 368.5 MB, free: 2.742 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001828/0.1543, allocations: 342.8 kB / 368.8 MB, free: 2.398 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004053/0.1547, allocations: 111.9 kB / 368.9 MB, free: 2.289 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004565/0.1552, allocations: 215.8 kB / 369.1 MB, free: 2.035 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008041/0.156, allocations: 330.1 kB / 369.4 MB, free: 1.672 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.156, allocations: 0 / 369.4 MB, free: 1.672 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001507/0.1575, allocations: 487.6 kB / 369.9 MB, free: 1.18 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.597e-05/0.1576, allocations: 40.45 kB / 370 MB, free: 1.137 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.759e-05/0.1577, allocations: 4 kB / 370 MB, free: 1.133 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004885/0.1582, allocations: 84.86 kB / 370 MB, free: 1.047 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002854/0.1585, allocations: 59.89 kB / 370.1 MB, free: 0.9883 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1847/0.3432, allocations: 1.986 MB / 372.1 MB, free: 19.58 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004333/0.3436, allocations: 55.62 kB / 372.1 MB, free: 19.58 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.163e-05/0.3437, allocations: 14.62 kB / 372.2 MB, free: 19.58 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.0001959/0.3439, allocations: 157.3 kB / 372.3 MB, free: 19.46 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.729e-05/0.344, allocations: 26.56 kB / 372.3 MB, free: 19.46 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.68e-05/0.344, allocations: 31.14 kB / 372.4 MB, free: 19.45 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.344, allocations: 1.062 kB / 372.4 MB, free: 19.45 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.344, allocations: 1.547 kB / 372.4 MB, free: 19.45 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.3441, allocations: 0.6562 kB / 372.4 MB, free: 19.45 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003596/0.3444, allocations: 354 kB / 372.7 MB, free: 19.26 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/0.3444, allocations: 1.219 kB / 372.7 MB, free: 19.26 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002024/0.3446, allocations: 27.55 kB / 372.7 MB, free: 19.26 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003202/0.345, allocations: 88.94 kB / 372.8 MB, free: 19.25 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.063e-05/0.345, allocations: 5.469 kB / 372.8 MB, free: 19.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002204/0.3472, allocations: 1.808 MB / 374.6 MB, free: 17.79 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.3472, allocations: 1.5 kB / 374.6 MB, free: 17.79 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00146/0.3487, allocations: 0.4932 MB / 375.1 MB, free: 17.62 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.19e-05/0.3488, allocations: 103.7 kB / 375.2 MB, free: 17.52 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.575e-05/0.3488, allocations: 3.047 kB / 375.2 MB, free: 17.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002563/0.3491, allocations: 36.84 kB / 375.3 MB, free: 17.51 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.027e-05/0.3492, allocations: 20.23 kB / 375.3 MB, free: 17.51 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.3492, allocations: 5.047 kB / 375.3 MB, free: 17.51 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002117/0.3494, allocations: 209.8 kB / 375.5 MB, free: 17.39 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3494, allocations: 1.219 kB / 375.5 MB, free: 17.39 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004466/0.3499, allocations: 91.56 kB / 375.6 MB, free: 17.37 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.0001305/0.35, allocations: 110.5 kB / 375.7 MB, free: 17.28 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001158/0.3512, allocations: 445.9 kB / 376.1 MB, free: 17.03 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.3512, allocations: 0 / 376.1 MB, free: 17.03 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004808/0.3517, allocations: 251.1 kB / 376.4 MB, free: 16.88 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000383/0.3521, allocations: 63.88 kB / 376.4 MB, free: 16.86 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001392/0.3535, allocations: 0.5794 MB / 377 MB, free: 16.52 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003106/0.3538, allocations: 0.7656 MB / 377.8 MB, free: 15.82 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001928/0.354, allocations: 33.8 kB / 377.8 MB, free: 15.81 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.137e-05/0.3541, allocations: 21.8 kB / 377.8 MB, free: 15.8 MB / 302.1 MB Notification: Performance of SimCode: time 5.2e-07/0.3541, allocations: 0 / 377.8 MB, free: 15.8 MB / 302.1 MB Notification: Performance of Templates: time 0.01223/0.3664, allocations: 4.436 MB / 382.3 MB, free: 15.52 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