Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001318/0.001318, allocations: 179.2 kB / 17.36 MB, free: 4.445 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.59/1.59, allocations: 205.6 MB / 223.7 MB, free: 8.953 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009186/0.0009188, allocations: 95.86 kB / 272.1 MB, free: 8.129 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002806/0.0002807, allocations: 4 kB / 329 MB, free: 15.06 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3046/0.3049, allocations: 47.58 MB / 376.6 MB, free: 45.61 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp): time 0.00261/0.3076, allocations: 2.3 MB / 378.9 MB, free: 43.8 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001444/0.3091, allocations: 0.773 MB / 379.7 MB, free: 43.14 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001813/0.3093, allocations: 4.344 kB / 379.7 MB, free: 43.14 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001714/0.3095, allocations: 31.06 kB / 379.7 MB, free: 43.11 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001968/0.3097, allocations: 76.08 kB / 379.8 MB, free: 43.04 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002574/0.3099, allocations: 90.38 kB / 379.9 MB, free: 42.96 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003428/0.3103, allocations: 331.8 kB / 380.2 MB, free: 42.77 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002059/0.3105, allocations: 72.23 kB / 380.3 MB, free: 42.74 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001571/0.3107, allocations: 110.8 kB / 380.4 MB, free: 42.68 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001696/0.3109, allocations: 132.6 kB / 380.5 MB, free: 42.59 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.219e-05/0.3109, allocations: 14.94 kB / 380.5 MB, free: 42.59 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.758e-05/0.311, allocations: 14.94 kB / 380.6 MB, free: 42.59 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.063e-05/0.311, allocations: 46.84 kB / 380.6 MB, free: 42.55 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001473/0.3112, allocations: 161.5 kB / 380.8 MB, free: 42.42 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002936/0.3115, allocations: 302.8 kB / 381 MB, free: 42.2 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.3115, allocations: 4 kB / 381.1 MB, free: 42.2 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.3115, allocations: 0 / 381.1 MB, free: 42.2 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.3115, allocations: 0.875 kB / 381.1 MB, free: 42.2 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001083/0.3126, allocations: 0.6062 MB / 381.7 MB, free: 41.65 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.3127, allocations: 13.16 kB / 381.7 MB, free: 41.65 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.508e-05/0.3127, allocations: 31.25 kB / 381.7 MB, free: 41.63 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002767/0.313, allocations: 277.1 kB / 382 MB, free: 41.36 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/0.3131, allocations: 15.72 kB / 382 MB, free: 41.35 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.976e-05/0.3131, allocations: 22.53 kB / 382 MB, free: 41.34 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006471/0.3138, allocations: 257.6 kB / 382.3 MB, free: 41.19 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.3138, allocations: 4.953 kB / 382.3 MB, free: 41.19 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.155e-05/0.3138, allocations: 10.19 kB / 382.3 MB, free: 41.18 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.3138, allocations: 4.938 kB / 382.3 MB, free: 41.18 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008/0.3146, allocations: 288 kB / 382.6 MB, free: 41.06 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001451/0.3161, allocations: 0.8861 MB / 383.5 MB, free: 40.32 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007435/0.3169, allocations: 268 kB / 383.7 MB, free: 40.2 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003096/0.3172, allocations: 120.1 kB / 383.8 MB, free: 40.14 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.234e-05/0.3172, allocations: 2.062 kB / 383.8 MB, free: 40.14 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004734/0.3177, allocations: 192.4 kB / 384 MB, free: 40 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 2.504e-06/0.3177, allocations: 4 kB / 384 MB, free: 39.99 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.001999/0.3197, allocations: 0.7057 MB / 384.7 MB, free: 39.63 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.186e-05/0.3198, allocations: 110.1 kB / 384.8 MB, free: 39.5 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002743/0.3201, allocations: 258.4 kB / 385.1 MB, free: 39.32 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.591e-05/0.3201, allocations: 32.05 kB / 385.1 MB, free: 39.29 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.3202, allocations: 170 kB / 385.3 MB, free: 39.13 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.472e-05/0.3203, allocations: 48.62 kB / 385.3 MB, free: 39.09 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.215e-05/0.3203, allocations: 5.875 kB / 385.3 MB, free: 39.08 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.022e-05/0.3204, allocations: 332.4 kB / 385.7 MB, free: 38.75 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003093/0.3207, allocations: 105.5 kB / 385.8 MB, free: 38.71 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003292/0.321, allocations: 176.5 kB / 385.9 MB, free: 38.58 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000579/0.3216, allocations: 279.2 kB / 386.2 MB, free: 38.41 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.3216, allocations: 3.938 kB / 386.2 MB, free: 38.4 MB / 298.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0009774/0.3226, allocations: 474 kB / 386.7 MB, free: 38.05 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.543e-05/0.3227, allocations: 159.9 kB / 386.8 MB, free: 37.86 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.3227, allocations: 0 / 386.8 MB, free: 37.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000441/0.3232, allocations: 152.7 kB / 387 MB, free: 37.71 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001744/0.3234, allocations: 39.97 kB / 387 MB, free: 37.67 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001552/0.3249, allocations: 1.744 MB / 388.8 MB, free: 35.79 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002925/0.3252, allocations: 55.78 kB / 388.8 MB, free: 35.74 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.024e-05/0.3252, allocations: 8 kB / 388.8 MB, free: 35.73 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.52e-06/0.3253, allocations: 4.156 kB / 388.8 MB, free: 35.73 MB / 298.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006097/0.3259, allocations: 330.1 kB / 389.2 MB, free: 35.39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-06/0.3259, allocations: 7.938 kB / 389.2 MB, free: 35.39 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.163e-05/0.326, allocations: 32.84 kB / 389.2 MB, free: 35.35 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.3261, allocations: 40.16 kB / 389.2 MB, free: 35.31 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008657/0.327, allocations: 1.541 MB / 390.8 MB, free: 33.64 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000255/0.3273, allocations: 51.78 kB / 390.8 MB, free: 33.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.064e-05/0.3273, allocations: 8 kB / 390.8 MB, free: 33.58 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (18): * Single equations (assignments): 16 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001569/0.3275, allocations: 213.1 kB / 391 MB, free: 33.36 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.068e-05/0.3275, allocations: 19.81 kB / 391.1 MB, free: 33.34 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.054e-05/0.3276, allocations: 25.77 kB / 391.1 MB, free: 33.32 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.3276, allocations: 0 / 391.1 MB, free: 33.32 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.3276, allocations: 8 kB / 391.1 MB, free: 33.31 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.3276, allocations: 0 / 391.1 MB, free: 33.31 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000224/0.3278, allocations: 293.4 kB / 391.4 MB, free: 32.97 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3278, allocations: 0 / 391.4 MB, free: 32.97 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001296/0.328, allocations: 27.97 kB / 391.4 MB, free: 32.95 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002058/0.3282, allocations: 88.91 kB / 391.5 MB, free: 32.86 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/0.3282, allocations: 7.938 kB / 391.5 MB, free: 32.85 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001307/0.3295, allocations: 1.628 MB / 393.1 MB, free: 31.09 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.3295, allocations: 3.938 kB / 393.1 MB, free: 31.09 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000758/0.3303, allocations: 369.5 kB / 393.5 MB, free: 30.7 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.476e-05/0.3304, allocations: 108.8 kB / 393.6 MB, free: 30.58 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.242e-05/0.3304, allocations: 0 / 393.6 MB, free: 30.58 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002122/0.3306, allocations: 47.89 kB / 393.6 MB, free: 30.53 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001226/0.3308, allocations: 23.97 kB / 393.7 MB, free: 30.51 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.3308, allocations: 0 / 393.7 MB, free: 30.51 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001685/0.3309, allocations: 188.4 kB / 393.9 MB, free: 30.33 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.331, allocations: 0 / 393.9 MB, free: 30.33 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004944/0.3315, allocations: 123.8 kB / 394 MB, free: 30.21 MB / 298.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) * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001244/0.3316, allocations: 103.2 kB / 394.1 MB, free: 30.09 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001168/0.3328, allocations: 0.7306 MB / 394.8 MB, free: 29.31 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3328, allocations: 0 / 394.8 MB, free: 29.31 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003738/0.3332, allocations: 242.9 kB / 395 MB, free: 29.06 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003305/0.3335, allocations: 48.22 kB / 395.1 MB, free: 29.02 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008482/0.3344, allocations: 0.5569 MB / 395.7 MB, free: 28.43 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000183/0.3346, allocations: 0.7559 MB / 396.4 MB, free: 27.65 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001486/0.3347, allocations: 30.27 kB / 396.4 MB, free: 27.62 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.42e-05/0.3348, allocations: 15.44 kB / 396.5 MB, free: 27.61 MB / 298.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3348, allocations: 0 / 396.5 MB, free: 27.61 MB / 298.7 MB Notification: Performance of Templates: time 0.006864/0.3417, allocations: 3.892 MB / 400.3 MB, free: 23.73 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/InvertingAmp/InvertingAmp.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches