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.001109/0.001109, allocations: 100.4 kB / 17 MB, free: 6.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001777/0.001777, allocations: 198.2 kB / 17.91 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.537/1.537, allocations: 227.7 MB / 246.4 MB, free: 9.723 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002926/0.0002926, allocations: 11.98 kB / 307.1 MB, free: 0.9297 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.137, allocations: 51.53 MB / 358.6 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.003519/0.1406, allocations: 2.635 MB / 361.3 MB, free: 10.74 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001611/0.1422, allocations: 0.7642 MB / 362 MB, free: 9.973 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001617/0.1424, allocations: 15.94 kB / 362.1 MB, free: 9.957 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001582/0.1426, allocations: 35.69 kB / 362.1 MB, free: 9.922 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001972/0.1428, allocations: 91.3 kB / 362.2 MB, free: 9.832 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002822/0.1431, allocations: 79.83 kB / 362.3 MB, free: 9.754 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003875/0.1435, allocations: 402.3 kB / 362.7 MB, free: 9.359 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002259/0.1437, allocations: 106.3 kB / 362.8 MB, free: 9.254 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002817/0.144, allocations: 147.4 kB / 362.9 MB, free: 9.109 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002021/0.1442, allocations: 167.2 kB / 363.1 MB, free: 8.945 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.031e-05/0.1443, allocations: 20 kB / 363.1 MB, free: 8.926 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.602e-05/0.1443, allocations: 20 kB / 363.1 MB, free: 8.906 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.198e-05/0.1444, allocations: 55.75 kB / 363.2 MB, free: 8.852 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.923e-05/0.1445, allocations: 93.52 kB / 363.3 MB, free: 8.754 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003417/0.1448, allocations: 383.1 kB / 363.6 MB, free: 8.379 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1448, allocations: 0 / 363.6 MB, free: 8.379 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.1448, allocations: 3.938 kB / 363.6 MB, free: 8.375 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.1449, allocations: 0 / 363.6 MB, free: 8.375 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.001363/0.1462, allocations: 0.672 MB / 364.3 MB, free: 7.648 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.1463, allocations: 8.031 kB / 364.3 MB, free: 7.641 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.956e-05/0.1464, allocations: 39.53 kB / 364.3 MB, free: 7.602 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003669/0.1467, allocations: 301.5 kB / 364.6 MB, free: 7.262 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.87e-05/0.1468, allocations: 20.56 kB / 364.7 MB, free: 7.242 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.853e-05/0.1468, allocations: 31.95 kB / 364.7 MB, free: 7.211 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007466/0.1476, allocations: 363.6 kB / 365 MB, free: 6.848 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.1476, allocations: 3.938 kB / 365.1 MB, free: 6.844 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.438e-05/0.1476, allocations: 12 kB / 365.1 MB, free: 6.832 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.1477, allocations: 8 kB / 365.1 MB, free: 6.824 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007964/0.1485, allocations: 326 kB / 365.4 MB, free: 6.5 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002386/0.1508, allocations: 1.321 MB / 366.7 MB, free: 5.09 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006823/0.1515, allocations: 258.4 kB / 367 MB, free: 4.828 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003415/0.1519, allocations: 128.8 kB / 367.1 MB, free: 4.699 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.382e-05/0.1519, allocations: 4 kB / 367.1 MB, free: 4.695 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005641/0.1525, allocations: 200.2 kB / 367.3 MB, free: 4.48 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 2.515e-06/0.1525, allocations: 0 / 367.3 MB, free: 4.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.002364/0.1549, allocations: 0.7644 MB / 368.1 MB, free: 3.688 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000153/0.1551, allocations: 106.8 kB / 368.2 MB, free: 3.559 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003545/0.1554, allocations: 294.9 kB / 368.4 MB, free: 3.262 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.584e-05/0.1555, allocations: 29.7 kB / 368.5 MB, free: 3.227 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001521/0.1556, allocations: 215.5 kB / 368.7 MB, free: 3.012 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.89e-05/0.1557, allocations: 47.36 kB / 368.7 MB, free: 2.965 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.468e-05/0.1557, allocations: 8 kB / 368.7 MB, free: 2.957 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.1559, allocations: 330.8 kB / 369.1 MB, free: 2.625 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003433/0.1562, allocations: 131.8 kB / 369.2 MB, free: 2.496 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004042/0.1566, allocations: 223.9 kB / 369.4 MB, free: 2.234 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003833/0.157, allocations: 176.1 kB / 369.6 MB, free: 2.059 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.157, allocations: 0 / 369.6 MB, free: 2.059 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001337/0.1584, allocations: 0.5153 MB / 370.1 MB, free: 1.527 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.347e-05/0.1584, allocations: 33.7 kB / 370.1 MB, free: 1.488 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.1585, allocations: 0 / 370.1 MB, free: 1.488 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003922/0.1589, allocations: 96.86 kB / 370.2 MB, free: 1.391 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002617/0.1591, allocations: 63.89 kB / 370.3 MB, free: 1.328 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2616/0.4208, allocations: 1.829 MB / 372.1 MB, free: 18.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004949/0.4213, allocations: 67.98 kB / 372.2 MB, free: 18.11 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.8e-05/0.4214, allocations: 10.84 kB / 372.2 MB, free: 18.11 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 ($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.0002795/0.4216, allocations: 156.6 kB / 372.3 MB, free: 17.99 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.553e-05/0.4217, allocations: 25.8 kB / 372.4 MB, free: 17.99 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.513e-05/0.4218, allocations: 28.33 kB / 372.4 MB, free: 17.98 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.904e-06/0.4218, allocations: 8.844 kB / 372.4 MB, free: 17.98 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.4218, allocations: 0.6562 kB / 372.4 MB, free: 17.98 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.4218, allocations: 0.6094 kB / 372.4 MB, free: 17.98 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004041/0.4222, allocations: 348.2 kB / 372.7 MB, free: 17.8 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.4222, allocations: 1.156 kB / 372.7 MB, free: 17.8 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00021/0.4225, allocations: 39.56 kB / 372.8 MB, free: 17.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003681/0.4228, allocations: 85.83 kB / 372.9 MB, free: 17.79 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.6e-05/0.4229, allocations: 9.406 kB / 372.9 MB, free: 17.79 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002338/0.4252, allocations: 1.708 MB / 374.6 MB, free: 16.54 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.4252, allocations: 0.5156 kB / 374.6 MB, free: 16.54 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001745/0.427, allocations: 0.5444 MB / 375.1 MB, free: 16.47 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.164e-05/0.4271, allocations: 105.5 kB / 375.2 MB, free: 16.37 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.215e-05/0.4271, allocations: 3.703 kB / 375.2 MB, free: 16.37 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002855/0.4274, allocations: 43.59 kB / 375.3 MB, free: 16.37 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/0.4276, allocations: 21.16 kB / 375.3 MB, free: 16.37 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-05/0.4276, allocations: 5.906 kB / 375.3 MB, free: 16.37 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000396/0.428, allocations: 207.6 kB / 375.5 MB, free: 16.29 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.184e-06/0.428, allocations: 0 / 375.5 MB, free: 16.29 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005831/0.4286, allocations: 92.95 kB / 375.6 MB, free: 16.29 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.0001946/0.4288, allocations: 109.6 kB / 375.7 MB, free: 16.2 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001396/0.4302, allocations: 477.7 kB / 376.2 MB, free: 16.02 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.4302, allocations: 0.5312 kB / 376.2 MB, free: 16.02 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006298/0.4309, allocations: 251.6 kB / 376.4 MB, free: 15.91 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004448/0.4313, allocations: 50.38 kB / 376.5 MB, free: 15.91 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00151/0.4328, allocations: 0.7117 MB / 377.2 MB, free: 15.5 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003355/0.4332, allocations: 0.7697 MB / 378 MB, free: 14.79 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001479/0.4333, allocations: 27.59 kB / 378 MB, free: 14.78 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.048e-05/0.4334, allocations: 20.52 kB / 378 MB, free: 14.77 MB / 302.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4334, allocations: 1.375 kB / 378 MB, free: 14.77 MB / 302.1 MB Notification: Performance of Templates: time 0.0117/0.4451, allocations: 3.908 MB / 381.9 MB, free: 14.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