Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001049/0.001049, allocations: 177 kB / 8.7 MB, free: 384 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.471/1.471, allocations: 205.3 MB / 214.4 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009012/0.0009013, allocations: 86.22 kB / 262.4 MB, free: 1.672 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.786e-05/1.79e-05, allocations: 4 kB / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09488/0.09491, allocations: 47.59 MB / 363.1 MB, free: 7.062 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3143/0.4093, allocations: 77.82 MB / 440.9 MB, free: 1.848 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002143/0.4095, allocations: 74.52 kB / 441 MB, free: 1.812 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01618/0.4257, allocations: 5.687 MB / 446.7 MB, free: 13.01 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.4258, allocations: 0 / 446.7 MB, free: 13.01 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.621e-05/0.4258, allocations: 8 kB / 446.7 MB, free: 13 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009488/0.4267, allocations: 0.5688 MB / 447.2 MB, free: 12.41 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.4268, allocations: 8.031 kB / 447.2 MB, free: 12.4 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.118e-05/0.4269, allocations: 35.56 kB / 447.3 MB, free: 12.36 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003089/0.4272, allocations: 273.7 kB / 447.5 MB, free: 12.08 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.4272, allocations: 8 kB / 447.5 MB, free: 12.07 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.942e-05/0.4273, allocations: 16 kB / 447.6 MB, free: 12.05 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003036/0.4276, allocations: 155.2 kB / 447.7 MB, free: 11.96 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003638/0.4279, allocations: 228.3 kB / 447.9 MB, free: 11.79 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.428, allocations: 3.938 kB / 447.9 MB, free: 11.78 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.486e-05/0.428, allocations: 0 / 447.9 MB, free: 11.78 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.428, allocations: 8 kB / 448 MB, free: 11.77 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001672/0.4297, allocations: 1.05 MB / 449 MB, free: 10.8 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003265/0.43, allocations: 132.4 kB / 449.1 MB, free: 10.7 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.813e-05/0.4301, allocations: 48.48 kB / 449.2 MB, free: 10.67 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.4e-05/0.4302, allocations: 8.219 kB / 449.2 MB, free: 10.66 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002288/0.4304, allocations: 130.9 kB / 449.3 MB, free: 10.54 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 1.653e-06/0.4304, allocations: 0 / 449.3 MB, free: 10.54 MB / 330.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005999/0.431, allocations: 196.8 kB / 449.5 MB, free: 10.37 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.452e-05/0.4311, allocations: 102.8 kB / 449.6 MB, free: 10.25 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002345/0.4314, allocations: 216.1 kB / 449.8 MB, free: 10.07 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.528e-05/0.4314, allocations: 25.7 kB / 449.8 MB, free: 10.04 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/0.4315, allocations: 199.6 kB / 450 MB, free: 9.871 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.755e-05/0.4316, allocations: 50.2 kB / 450.1 MB, free: 9.828 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-05/0.4316, allocations: 0 / 450.1 MB, free: 9.828 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.4317, allocations: 329 kB / 450.4 MB, free: 9.504 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.66e-05/0.4318, allocations: 55.98 kB / 450.5 MB, free: 9.469 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001742/0.432, allocations: 156.8 kB / 450.6 MB, free: 9.297 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001098/0.4321, allocations: 63.25 kB / 450.7 MB, free: 9.254 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.4321, allocations: 4 kB / 450.7 MB, free: 9.25 MB / 330.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006413/0.4328, allocations: 289.7 kB / 451 MB, free: 9.008 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.098e-05/0.4328, allocations: 29.7 kB / 451 MB, free: 8.973 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.4329, allocations: 7.984 kB / 451 MB, free: 8.965 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002031/0.4331, allocations: 50.72 kB / 451 MB, free: 8.926 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002221/0.4333, allocations: 59.98 kB / 451.1 MB, free: 8.867 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001477/0.4348, allocations: 1.45 MB / 452.6 MB, free: 7.414 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003453/0.4352, allocations: 55.66 kB / 452.6 MB, free: 7.359 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.661e-05/0.4352, allocations: 15.27 kB / 452.6 MB, free: 7.348 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * 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 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001029/0.4353, allocations: 109 kB / 452.7 MB, free: 7.234 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.025e-05/0.4353, allocations: 23.72 kB / 452.8 MB, free: 7.211 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.899e-05/0.4354, allocations: 30.94 kB / 452.8 MB, free: 7.191 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.4354, allocations: 4 kB / 452.8 MB, free: 7.188 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/0.4354, allocations: 0 / 452.8 MB, free: 7.188 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.4354, allocations: 0 / 452.8 MB, free: 7.188 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002376/0.4357, allocations: 262.7 kB / 453 MB, free: 6.934 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.4357, allocations: 0 / 453 MB, free: 6.934 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000126/0.4358, allocations: 23.98 kB / 453.1 MB, free: 6.91 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001276/0.4359, allocations: 55.02 kB / 453.1 MB, free: 6.867 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.436, allocations: 0 / 453.1 MB, free: 6.867 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001376/0.4374, allocations: 1.45 MB / 454.6 MB, free: 5.426 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.4374, allocations: 3.938 kB / 454.6 MB, free: 5.422 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005407/0.4379, allocations: 221 kB / 454.8 MB, free: 5.219 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001104/0.438, allocations: 107.4 kB / 454.9 MB, free: 5.102 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.781e-05/0.4381, allocations: 11.56 kB / 454.9 MB, free: 5.094 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002581/0.4384, allocations: 31.92 kB / 454.9 MB, free: 5.062 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.844e-05/0.4385, allocations: 27.64 kB / 455 MB, free: 5.039 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.4385, allocations: 0 / 455 MB, free: 5.039 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001629/0.4387, allocations: 172.4 kB / 455.1 MB, free: 4.902 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4387, allocations: 4 kB / 455.1 MB, free: 4.898 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000399/0.4391, allocations: 75.84 kB / 455.2 MB, free: 4.824 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001814/0.4393, allocations: 98.81 kB / 455.3 MB, free: 4.719 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004608/0.4397, allocations: 313.4 kB / 455.6 MB, free: 4.438 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.4397, allocations: 0.8125 kB / 455.6 MB, free: 4.438 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001999/0.4399, allocations: 181.9 kB / 455.8 MB, free: 4.277 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002331/0.4402, allocations: 28.28 kB / 455.8 MB, free: 4.258 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005685/0.4408, allocations: 271.2 kB / 456.1 MB, free: 4 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003873/0.4412, allocations: 0.756 MB / 456.8 MB, free: 3.215 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001126/0.4413, allocations: 30.05 kB / 456.9 MB, free: 3.188 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.228e-05/0.4413, allocations: 19.44 kB / 456.9 MB, free: 3.168 MB / 330.7 MB Notification: Performance of SimCode: time 2.81e-07/0.4414, allocations: 0 / 456.9 MB, free: 3.168 MB / 330.7 MB Notification: Performance of Templates: time 0.006408/0.4478, allocations: 3.261 MB / 460.2 MB, free: 15.91 MB / 346.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/InvertingAmp/InvertingAmp.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches