Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.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.DifferentialAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|opAmp.v_out|rootMeanSquare.mean.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|opAmp.v_out|rootMeanSquare.mean.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001867/0.001867, allocations: 195.3 kB / 17.43 MB, free: 4.402 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.432/1.432, allocations: 229.5 MB / 247.7 MB, free: 6.305 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009597/0.0009597, allocations: 98.75 kB / 299.8 MB, free: 5.34 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003646/0.0003646, allocations: 8 kB / 360.7 MB, free: 8.453 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3002/0.3006, allocations: 51.4 MB / 412.1 MB, free: 25.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.003627/0.3043, allocations: 3.886 MB / 415.9 MB, free: 21.99 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002316/0.3067, allocations: 1.439 MB / 417.4 MB, free: 20.5 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003836/0.3071, allocations: 11.59 kB / 417.4 MB, free: 20.5 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000427/0.3075, allocations: 123.1 kB / 417.5 MB, free: 20.38 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004337/0.308, allocations: 162.7 kB / 417.7 MB, free: 20.21 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004587/0.3084, allocations: 175.8 kB / 417.8 MB, free: 20.04 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005709/0.309, allocations: 0.7239 MB / 418.6 MB, free: 19.31 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004037/0.3094, allocations: 227.4 kB / 418.8 MB, free: 19.09 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004095/0.3098, allocations: 254.9 kB / 419 MB, free: 18.84 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003062/0.3102, allocations: 282.6 kB / 419.3 MB, free: 18.56 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.883e-05/0.3102, allocations: 32 kB / 419.3 MB, free: 18.53 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001092/0.3104, allocations: 36 kB / 419.4 MB, free: 18.49 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.534e-05/0.3105, allocations: 123.3 kB / 419.5 MB, free: 18.37 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002318/0.3107, allocations: 324 kB / 419.8 MB, free: 18.05 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005485/0.3113, allocations: 0.6979 MB / 420.5 MB, free: 17.35 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.3113, allocations: 0 / 420.5 MB, free: 17.35 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.275e-06/0.3113, allocations: 0 / 420.5 MB, free: 17.35 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.3113, allocations: 0 / 420.5 MB, free: 17.35 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.00149/0.3128, allocations: 0.8611 MB / 421.4 MB, free: 16.44 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.3128, allocations: 8.031 kB / 421.4 MB, free: 16.43 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000272/0.3131, allocations: 100.1 kB / 421.5 MB, free: 16.33 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004196/0.3135, allocations: 409.8 kB / 421.9 MB, free: 15.89 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.517e-05/0.3136, allocations: 41.69 kB / 421.9 MB, free: 15.85 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.415e-05/0.3137, allocations: 56.38 kB / 422 MB, free: 15.8 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008381/0.3145, allocations: 0.5458 MB / 422.5 MB, free: 15.24 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.3145, allocations: 0 / 422.5 MB, free: 15.24 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.766e-05/0.3146, allocations: 32 kB / 422.6 MB, free: 15.21 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/0.3146, allocations: 12 kB / 422.6 MB, free: 15.2 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007457/0.3154, allocations: 433 kB / 423 MB, free: 14.77 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002587/0.318, allocations: 1.855 MB / 424.8 MB, free: 12.82 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008074/0.3188, allocations: 0.536 MB / 425.4 MB, free: 12.25 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007951/0.3196, allocations: 429.2 kB / 425.8 MB, free: 11.82 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.615e-05/0.3196, allocations: 12.25 kB / 425.8 MB, free: 11.81 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005297/0.3202, allocations: 302.2 kB / 426.1 MB, free: 11.48 MB / 298.7 MB Notification: Performance of pre-optimization done (n=41): time 3.056e-06/0.3202, allocations: 3.938 kB / 426.1 MB, free: 11.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=41): time 0.003758/0.324, allocations: 1.372 MB / 427.5 MB, free: 10.07 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.537e-05/0.3241, allocations: 243.3 kB / 427.7 MB, free: 9.781 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004964/0.3246, allocations: 433.8 kB / 428.1 MB, free: 9.348 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.516e-05/0.3246, allocations: 37.64 kB / 428.2 MB, free: 9.305 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002022/0.3248, allocations: 312.1 kB / 428.5 MB, free: 8.996 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.387e-05/0.3249, allocations: 142 kB / 428.6 MB, free: 8.855 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2e-05/0.325, allocations: 8 kB / 428.6 MB, free: 8.848 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.837e-05/0.3251, allocations: 358.8 kB / 429 MB, free: 8.488 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002901/0.3254, allocations: 157 kB / 429.1 MB, free: 8.336 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003748/0.3257, allocations: 321.6 kB / 429.4 MB, free: 7.949 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006296/0.3264, allocations: 455.5 kB / 429.9 MB, free: 7.457 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.3264, allocations: 4 kB / 429.9 MB, free: 7.453 MB / 298.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001662/0.3281, allocations: 0.8141 MB / 430.7 MB, free: 6.629 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.631e-05/0.3281, allocations: 4 kB / 430.7 MB, free: 6.625 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/0.3281, allocations: 8.062 kB / 430.7 MB, free: 6.617 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007112/0.3288, allocations: 224.7 kB / 430.9 MB, free: 6.395 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002879/0.3291, allocations: 79.83 kB / 431 MB, free: 6.316 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004195/0.3333, allocations: 2.92 MB / 433.9 MB, free: 3.262 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006243/0.334, allocations: 91.47 kB / 434 MB, free: 3.172 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.293e-05/0.334, allocations: 19.98 kB / 434 MB, free: 3.152 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.rootMeanSquare.mean.y_last,rootMeanSquare.mean.y_last) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * 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 {(2,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0003222/0.3344, allocations: 185.7 kB / 434.2 MB, free: 2.961 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.407e-05/0.3344, allocations: 47.44 kB / 434.3 MB, free: 2.914 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.523e-05/0.3345, allocations: 56.86 kB / 434.3 MB, free: 2.855 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.3346, allocations: 4 kB / 434.3 MB, free: 2.852 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.3346, allocations: 3.984 kB / 434.3 MB, free: 2.848 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.3346, allocations: 0 / 434.3 MB, free: 2.848 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002013/0.3366, allocations: 1.324 MB / 435.7 MB, free: 1.465 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.3366, allocations: 0 / 435.7 MB, free: 1.465 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001602/0.3368, allocations: 35.92 kB / 435.7 MB, free: 1.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005312/0.3373, allocations: 222 kB / 435.9 MB, free: 1.211 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.409e-05/0.3374, allocations: 8 kB / 435.9 MB, free: 1.203 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003952/0.3413, allocations: 2.815 MB / 438.7 MB, free: 14.26 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.3413, allocations: 0 / 438.7 MB, free: 14.26 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002128/0.3435, allocations: 0.9673 MB / 439.7 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001832/0.3437, allocations: 124.5 kB / 439.8 MB, free: 13.13 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.553e-05/0.3438, allocations: 15.92 kB / 439.8 MB, free: 13.11 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000358/0.3441, allocations: 52.03 kB / 439.9 MB, free: 13.06 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.3443, allocations: 35.91 kB / 439.9 MB, free: 13.03 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.752e-05/0.3443, allocations: 16 kB / 439.9 MB, free: 13.01 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004077/0.3447, allocations: 295.1 kB / 440.2 MB, free: 12.72 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3447, allocations: 3.938 kB / 440.2 MB, free: 12.72 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007264/0.3455, allocations: 191.6 kB / 440.4 MB, free: 12.53 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (rootMeanSquare.mean.x) * Number of discrete variables: 2 ($whenCondition1,rootMeanSquare.mean.y_last) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {(3,18)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002064/0.3457, allocations: 118.6 kB / 440.5 MB, free: 12.41 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001662/0.3473, allocations: 0.6892 MB / 441.2 MB, free: 11.71 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.3474, allocations: 192 / 441.2 MB, free: 11.71 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008131/0.3482, allocations: 428.3 kB / 441.6 MB, free: 11.28 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005945/0.3488, allocations: 78.89 kB / 441.7 MB, free: 11.2 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001908/0.3507, allocations: 1.161 MB / 442.9 MB, free: 10.02 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005144/0.3512, allocations: 0.8629 MB / 443.7 MB, free: 9.129 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002571/0.3515, allocations: 52.55 kB / 443.8 MB, free: 9.078 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.845e-05/0.3516, allocations: 31.44 kB / 443.8 MB, free: 9.047 MB / 314.7 MB Notification: Performance of SimCode: time 6.41e-07/0.3516, allocations: 4 kB / 443.8 MB, free: 9.043 MB / 314.7 MB Notification: Performance of Templates: time 0.01367/0.3653, allocations: 7.006 MB / 450.8 MB, free: 2.066 MB / 314.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/DifferentialAmplifier/DifferentialAmplifier.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches