Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001855/0.001855, allocations: 191.5 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.465/1.465, allocations: 229.5 MB / 247.7 MB, free: 6.316 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00106/0.00106, allocations: 91.62 kB / 299.9 MB, free: 5.348 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003737/0.0003738, allocations: 4 kB / 360.7 MB, free: 8.469 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3855/0.3859, allocations: 51.42 MB / 412.1 MB, free: 25.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier): time 0.004236/0.3902, allocations: 2.525 MB / 414.6 MB, free: 23.36 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002089/0.3923, allocations: 0.9518 MB / 415.5 MB, free: 22.35 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002421/0.3926, allocations: 4 kB / 415.5 MB, free: 22.35 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001827/0.3928, allocations: 34.67 kB / 415.6 MB, free: 22.32 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002644/0.3931, allocations: 91.3 kB / 415.7 MB, free: 22.23 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003676/0.3935, allocations: 95.92 kB / 415.8 MB, free: 22.13 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004791/0.394, allocations: 390.4 kB / 416.1 MB, free: 21.75 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002845/0.3943, allocations: 117.9 kB / 416.3 MB, free: 21.64 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000198/0.3945, allocations: 123.4 kB / 416.4 MB, free: 21.52 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002261/0.3947, allocations: 151.2 kB / 416.5 MB, free: 21.37 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.409e-05/0.3948, allocations: 16 kB / 416.5 MB, free: 21.35 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.025e-05/0.3949, allocations: 20 kB / 416.6 MB, free: 21.33 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.595e-05/0.395, allocations: 55.7 kB / 416.6 MB, free: 21.28 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001975/0.3952, allocations: 176.8 kB / 416.8 MB, free: 21.1 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004394/0.3956, allocations: 428 kB / 417.2 MB, free: 20.68 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.3956, allocations: 0 / 417.2 MB, free: 20.68 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.534e-06/0.3957, allocations: 0 / 417.2 MB, free: 20.68 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.3957, allocations: 0 / 417.2 MB, free: 20.68 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001507/0.3972, allocations: 0.6381 MB / 417.8 MB, free: 19.98 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.3973, allocations: 8.031 kB / 417.9 MB, free: 19.97 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.968e-05/0.3974, allocations: 36.56 kB / 417.9 MB, free: 19.94 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004491/0.3978, allocations: 303.5 kB / 418.2 MB, free: 19.6 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.355e-05/0.3979, allocations: 20.94 kB / 418.2 MB, free: 19.58 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.424e-05/0.398, allocations: 28.38 kB / 418.2 MB, free: 19.55 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009854/0.3989, allocations: 347.9 kB / 418.6 MB, free: 19.21 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.399, allocations: 0 / 418.6 MB, free: 19.21 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.231e-05/0.399, allocations: 12 kB / 418.6 MB, free: 19.2 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/0.3991, allocations: 4 kB / 418.6 MB, free: 19.19 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001177/0.4002, allocations: 310 kB / 418.9 MB, free: 18.89 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002519/0.4028, allocations: 1.182 MB / 420.1 MB, free: 17.62 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001201/0.404, allocations: 286.6 kB / 420.4 MB, free: 17.34 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004759/0.4045, allocations: 120.8 kB / 420.5 MB, free: 17.21 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.014e-05/0.4045, allocations: 0 / 420.5 MB, free: 17.21 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000674/0.4052, allocations: 201.8 kB / 420.7 MB, free: 17 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 2.084e-06/0.4053, allocations: 0 / 420.7 MB, free: 17 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.003368/0.4086, allocations: 0.7374 MB / 421.4 MB, free: 16.23 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.782e-05/0.4087, allocations: 110.8 kB / 421.5 MB, free: 16.1 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004201/0.4091, allocations: 282.6 kB / 421.8 MB, free: 15.81 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.065e-05/0.4092, allocations: 29.7 kB / 421.8 MB, free: 15.78 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/0.4094, allocations: 191.7 kB / 422 MB, free: 15.59 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.907e-05/0.4094, allocations: 51.3 kB / 422.1 MB, free: 15.54 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.818e-05/0.4094, allocations: 4 kB / 422.1 MB, free: 15.53 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.035e-05/0.4095, allocations: 334.8 kB / 422.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000524/0.4101, allocations: 120.4 kB / 422.5 MB, free: 15.07 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005492/0.4106, allocations: 224.8 kB / 422.7 MB, free: 14.81 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009784/0.4116, allocations: 337 kB / 423.1 MB, free: 14.44 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.4117, allocations: 0 / 423.1 MB, free: 14.44 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001812/0.4135, allocations: 0.4995 MB / 423.6 MB, free: 13.93 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.441e-05/0.4135, allocations: 37.91 kB / 423.6 MB, free: 13.88 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.4136, allocations: 4 kB / 423.6 MB, free: 13.88 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005666/0.4141, allocations: 88.81 kB / 423.7 MB, free: 13.79 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000315/0.4145, allocations: 59.89 kB / 423.7 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003212/0.4177, allocations: 1.822 MB / 425.6 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005598/0.4183, allocations: 63.72 kB / 425.6 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.232e-05/0.4183, allocations: 8 kB / 425.6 MB, free: 11.7 MB / 298.7 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 (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.0002386/0.4186, allocations: 165.6 kB / 425.8 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.689e-05/0.4187, allocations: 23.72 kB / 425.8 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.762e-05/0.4188, allocations: 25.84 kB / 425.8 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.4188, allocations: 0 / 425.8 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.4188, allocations: 3.984 kB / 425.8 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.4188, allocations: 0 / 425.8 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003791/0.4192, allocations: 333.4 kB / 426.2 MB, free: 11.1 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.4192, allocations: 4 kB / 426.2 MB, free: 11.1 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002082/0.4194, allocations: 31.97 kB / 426.2 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004022/0.4198, allocations: 88.78 kB / 426.3 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.274e-05/0.4199, allocations: 7.984 kB / 426.3 MB, free: 10.97 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0027/0.4226, allocations: 1.694 MB / 428 MB, free: 9.141 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.4226, allocations: 3.938 kB / 428 MB, free: 9.137 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001553/0.4242, allocations: 409.6 kB / 428.4 MB, free: 8.715 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.4243, allocations: 108.7 kB / 428.5 MB, free: 8.59 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.554e-05/0.4244, allocations: 7.984 kB / 428.5 MB, free: 8.582 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003781/0.4248, allocations: 40.16 kB / 428.6 MB, free: 8.543 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.4249, allocations: 19.97 kB / 428.6 MB, free: 8.523 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.242e-05/0.4249, allocations: 12 kB / 428.6 MB, free: 8.512 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002889/0.4252, allocations: 198 kB / 428.8 MB, free: 8.32 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.4252, allocations: 0 / 428.8 MB, free: 8.32 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006805/0.4259, allocations: 79.84 kB / 428.9 MB, free: 8.242 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001804/0.4261, allocations: 107.2 kB / 429 MB, free: 8.125 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001542/0.4277, allocations: 462 kB / 429.4 MB, free: 7.648 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.4277, allocations: 3.938 kB / 429.4 MB, free: 7.645 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000674/0.4284, allocations: 250.9 kB / 429.7 MB, free: 7.387 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005808/0.429, allocations: 56.27 kB / 429.7 MB, free: 7.332 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001468/0.4305, allocations: 0.596 MB / 430.3 MB, free: 6.707 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002351/0.4307, allocations: 0.756 MB / 431.1 MB, free: 5.926 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002072/0.431, allocations: 26.28 kB / 431.1 MB, free: 5.898 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.128e-05/0.4311, allocations: 23.38 kB / 431.1 MB, free: 5.879 MB / 298.7 MB Notification: Performance of SimCode: time 5.81e-07/0.4311, allocations: 0 / 431.1 MB, free: 5.879 MB / 298.7 MB Notification: Performance of Templates: time 0.01099/0.4421, allocations: 3.766 MB / 434.9 MB, free: 2.137 MB / 298.7 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.0.0/Modelica/Electrical/Analog/Examples/OpAmps/InvertingAmplifier/InvertingAmplifier.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches