Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.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.InvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|gain.opAmp.out.v|gain.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|gain.opAmp.out.v|gain.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001557/0.001557, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001597/0.001597, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.585/1.585, allocations: 227.4 MB / 246.8 MB, free: 10.6 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001875/0.001875, allocations: 55.84 kB / 307 MB, free: 0.6055 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1082, allocations: 50.53 MB / 357.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier): time 0.004686/0.1129, allocations: 2.952 MB / 360.5 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001397/0.1143, allocations: 0.7674 MB / 361.3 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001454/0.1145, allocations: 4 kB / 361.3 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001641/0.1146, allocations: 47.5 kB / 361.3 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001937/0.1148, allocations: 99.19 kB / 361.4 MB, free: 10.17 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002957/0.1151, allocations: 119.8 kB / 361.5 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004702/0.1156, allocations: 418.4 kB / 361.9 MB, free: 9.645 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002459/0.1159, allocations: 123.2 kB / 362.1 MB, free: 9.527 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002291/0.1161, allocations: 159.4 kB / 362.2 MB, free: 9.371 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00025/0.1164, allocations: 167.3 kB / 362.4 MB, free: 9.207 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.214e-05/0.1165, allocations: 40 kB / 362.4 MB, free: 9.168 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.17e-05/0.1165, allocations: 44 kB / 362.5 MB, free: 9.125 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.552e-05/0.1166, allocations: 87.67 kB / 362.5 MB, free: 9.039 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002147/0.1169, allocations: 175.2 kB / 362.7 MB, free: 8.867 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005171/0.1174, allocations: 442.8 kB / 363.1 MB, free: 8.434 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1174, allocations: 0 / 363.1 MB, free: 8.434 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1174, allocations: 0 / 363.1 MB, free: 8.434 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.104e-06/0.1174, allocations: 4 kB / 363.1 MB, free: 8.43 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001503/0.1189, allocations: 0.6808 MB / 363.8 MB, free: 7.691 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.119, allocations: 12.03 kB / 363.8 MB, free: 7.68 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.114e-05/0.1191, allocations: 32.56 kB / 363.9 MB, free: 7.648 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004097/0.1195, allocations: 299.5 kB / 364.2 MB, free: 7.316 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.658e-05/0.1195, allocations: 20.94 kB / 364.2 MB, free: 7.293 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.028e-05/0.1196, allocations: 28.38 kB / 364.2 MB, free: 7.266 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000769/0.1204, allocations: 323.9 kB / 364.5 MB, free: 6.938 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.1204, allocations: 0 / 364.5 MB, free: 6.938 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.546e-05/0.1205, allocations: 12 kB / 364.5 MB, free: 6.926 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.1205, allocations: 11.94 kB / 364.5 MB, free: 6.914 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008486/0.1213, allocations: 282.1 kB / 364.8 MB, free: 6.641 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002044/0.1234, allocations: 1.166 MB / 366 MB, free: 5.391 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009176/0.1243, allocations: 242.6 kB / 366.2 MB, free: 5.145 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003655/0.1247, allocations: 112.7 kB / 366.3 MB, free: 5.031 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.888e-05/0.1247, allocations: 4 kB / 366.3 MB, free: 5.027 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005783/0.1253, allocations: 173.9 kB / 366.5 MB, free: 4.836 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.422e-06/0.1253, allocations: 4 kB / 366.5 MB, free: 4.832 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.002545/0.1279, allocations: 0.6582 MB / 367.2 MB, free: 4.148 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.902e-05/0.128, allocations: 106.8 kB / 367.3 MB, free: 4.02 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003463/0.1283, allocations: 290.5 kB / 367.6 MB, free: 3.727 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.838e-05/0.1284, allocations: 33.7 kB / 367.6 MB, free: 3.688 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001623/0.1286, allocations: 195.7 kB / 367.8 MB, free: 3.492 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.997e-05/0.1286, allocations: 39.45 kB / 367.8 MB, free: 3.453 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.1287, allocations: 57.83 kB / 367.9 MB, free: 3.387 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.1289, allocations: 326.8 kB / 368.2 MB, free: 3.059 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003795/0.1293, allocations: 112.6 kB / 368.3 MB, free: 2.949 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004853/0.1298, allocations: 202.5 kB / 368.5 MB, free: 2.711 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007772/0.1306, allocations: 314.7 kB / 368.8 MB, free: 2.363 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1306, allocations: 0 / 368.8 MB, free: 2.363 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001362/0.1319, allocations: 479.5 kB / 369.3 MB, free: 1.879 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.517e-05/0.132, allocations: 33.7 kB / 369.3 MB, free: 1.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.132, allocations: 0 / 369.3 MB, free: 1.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004109/0.1324, allocations: 88.86 kB / 369.4 MB, free: 1.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000228/0.1327, allocations: 55.89 kB / 369.5 MB, free: 1.695 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1915/0.3242, allocations: 1.99 MB / 371.4 MB, free: 19.2 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004743/0.3247, allocations: 56.53 kB / 371.5 MB, free: 19.2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.019e-05/0.3248, allocations: 12.78 kB / 371.5 MB, free: 19.2 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 (23): * Single equations (assignments): 21 * 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.0001909/0.325, allocations: 149.4 kB / 371.7 MB, free: 19.09 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.78e-05/0.325, allocations: 22.5 kB / 371.7 MB, free: 19.09 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.405e-05/0.3251, allocations: 28.84 kB / 371.7 MB, free: 19.08 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.3251, allocations: 3.219 kB / 371.7 MB, free: 19.08 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3251, allocations: 0.8438 kB / 371.7 MB, free: 19.08 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.3251, allocations: 5.641 kB / 371.7 MB, free: 19.08 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003666/0.3255, allocations: 321.9 kB / 372 MB, free: 18.89 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.3255, allocations: 5.375 kB / 372 MB, free: 18.89 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001567/0.3257, allocations: 28.22 kB / 372.1 MB, free: 18.89 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003281/0.326, allocations: 83.19 kB / 372.1 MB, free: 18.89 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.748e-05/0.326, allocations: 2.016 kB / 372.2 MB, free: 18.89 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002514/0.3285, allocations: 1.803 MB / 374 MB, free: 17.55 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.3286, allocations: 0 / 374 MB, free: 17.55 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001369/0.3299, allocations: 369 kB / 374.3 MB, free: 17.48 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.04e-05/0.33, allocations: 105.8 kB / 374.4 MB, free: 17.39 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.208e-05/0.3301, allocations: 6.75 kB / 374.4 MB, free: 17.39 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002719/0.3304, allocations: 34.66 kB / 374.5 MB, free: 17.39 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.3305, allocations: 20.97 kB / 374.5 MB, free: 17.39 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.968e-05/0.3305, allocations: 4.312 kB / 374.5 MB, free: 17.39 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003076/0.3308, allocations: 198.9 kB / 374.7 MB, free: 17.31 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3308, allocations: 3.469 kB / 374.7 MB, free: 17.31 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005218/0.3314, allocations: 86.05 kB / 374.8 MB, free: 17.3 MB / 302.1 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * 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.0001791/0.3315, allocations: 106 kB / 374.9 MB, free: 17.21 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001159/0.3327, allocations: 432.7 kB / 375.3 MB, free: 17.04 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.3327, allocations: 3.875 kB / 375.3 MB, free: 17.04 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005173/0.3333, allocations: 241 kB / 375.5 MB, free: 16.93 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003726/0.3336, allocations: 53.42 kB / 375.6 MB, free: 16.93 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001292/0.3349, allocations: 487.6 kB / 376.1 MB, free: 16.69 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002547/0.3352, allocations: 0.7599 MB / 376.8 MB, free: 15.98 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001223/0.3353, allocations: 26.84 kB / 376.8 MB, free: 15.98 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.987e-05/0.3354, allocations: 20.47 kB / 376.9 MB, free: 15.97 MB / 302.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3354, allocations: 0 / 376.9 MB, free: 15.97 MB / 302.1 MB Notification: Performance of Templates: time 0.01091/0.3463, allocations: 4.167 MB / 381 MB, free: 15.75 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/InvertingAmplifier/InvertingAmplifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches