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.NonInvertingAmp.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.NonInvertingAmp,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.NonInvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp,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.NonInvertingAmp") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001451/0.001452, allocations: 177.2 kB / 17.36 MB, free: 4.316 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.581/1.581, allocations: 205.6 MB / 223.7 MB, free: 8.945 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.0007807/0.0007806, allocations: 96.08 kB / 272.1 MB, free: 8.121 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002881/0.0002882, allocations: 4 kB / 329 MB, free: 15.05 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3055/0.3058, allocations: 47.58 MB / 376.6 MB, free: 45.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp): time 0.003356/0.3093, allocations: 2.307 MB / 378.9 MB, free: 43.76 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001363/0.3107, allocations: 0.7658 MB / 379.7 MB, free: 43.11 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001358/0.3108, allocations: 3.219 kB / 379.7 MB, free: 43.11 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001383/0.311, allocations: 35.05 kB / 379.7 MB, free: 43.07 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001761/0.3112, allocations: 77.02 kB / 379.8 MB, free: 43.01 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003235/0.3115, allocations: 90.12 kB / 379.9 MB, free: 42.93 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004564/0.312, allocations: 327.8 kB / 380.2 MB, free: 42.74 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002347/0.3122, allocations: 70.98 kB / 380.3 MB, free: 42.71 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001796/0.3124, allocations: 111.9 kB / 380.4 MB, free: 42.64 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001741/0.3126, allocations: 139.5 kB / 380.5 MB, free: 42.55 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.68e-05/0.3126, allocations: 15.66 kB / 380.5 MB, free: 42.55 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.692e-05/0.3127, allocations: 15.28 kB / 380.6 MB, free: 42.55 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.703e-05/0.3127, allocations: 49.52 kB / 380.6 MB, free: 42.5 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001481/0.3129, allocations: 154.7 kB / 380.8 MB, free: 42.39 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002744/0.3132, allocations: 302.8 kB / 381.1 MB, free: 42.16 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/0.3132, allocations: 0 / 381.1 MB, free: 42.16 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.634e-06/0.3132, allocations: 0 / 381.1 MB, free: 42.16 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.3132, allocations: 0 / 381.1 MB, free: 42.16 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.001123/0.3143, allocations: 0.6112 MB / 381.7 MB, free: 41.62 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.3144, allocations: 17.28 kB / 381.7 MB, free: 41.61 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.643e-05/0.3145, allocations: 31.16 kB / 381.7 MB, free: 41.59 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002806/0.3148, allocations: 267.9 kB / 382 MB, free: 41.32 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.832e-05/0.3148, allocations: 16.59 kB / 382 MB, free: 41.32 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.763e-05/0.3148, allocations: 17.81 kB / 382 MB, free: 41.31 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000588/0.3154, allocations: 266.9 kB / 382.3 MB, free: 41.16 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.3155, allocations: 0 / 382.3 MB, free: 41.16 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.623e-05/0.3155, allocations: 6.25 kB / 382.3 MB, free: 41.15 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.3155, allocations: 5.438 kB / 382.3 MB, free: 41.15 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007743/0.3163, allocations: 295.6 kB / 382.6 MB, free: 41.03 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001397/0.3177, allocations: 0.8914 MB / 383.5 MB, free: 40.29 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007356/0.3184, allocations: 269.3 kB / 383.7 MB, free: 40.16 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002864/0.3187, allocations: 103.7 kB / 383.8 MB, free: 40.11 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.493e-05/0.3188, allocations: 9.469 kB / 383.8 MB, free: 40.11 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004574/0.3192, allocations: 192.8 kB / 384 MB, free: 39.96 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 2.134e-06/0.3193, allocations: 3.984 kB / 384 MB, free: 39.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.00211/0.3214, allocations: 0.7193 MB / 384.7 MB, free: 39.59 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.483e-05/0.3215, allocations: 105.2 kB / 384.8 MB, free: 39.46 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003758/0.3218, allocations: 262.9 kB / 385.1 MB, free: 39.28 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.62e-05/0.3219, allocations: 35.77 kB / 385.1 MB, free: 39.24 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.741e-05/0.322, allocations: 171.4 kB / 385.3 MB, free: 39.09 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.52e-05/0.322, allocations: 49.12 kB / 385.4 MB, free: 39.04 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.273e-05/0.322, allocations: 5.5 kB / 385.4 MB, free: 39.04 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.748e-05/0.3221, allocations: 327.2 kB / 385.7 MB, free: 38.71 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003113/0.3224, allocations: 112.3 kB / 385.8 MB, free: 38.67 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003771/0.3228, allocations: 186.9 kB / 386 MB, free: 38.52 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000625/0.3235, allocations: 308.4 kB / 386.3 MB, free: 38.32 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3235, allocations: 1.312 kB / 386.3 MB, free: 38.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001086/0.3246, allocations: 492.1 kB / 386.8 MB, free: 37.95 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.584e-05/0.3247, allocations: 173.5 kB / 386.9 MB, free: 37.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.3247, allocations: 0 / 386.9 MB, free: 37.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004612/0.3251, allocations: 140.7 kB / 387.1 MB, free: 37.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001844/0.3253, allocations: 43.97 kB / 387.1 MB, free: 37.56 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001773/0.3271, allocations: 1.819 MB / 388.9 MB, free: 35.61 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003118/0.3274, allocations: 55.78 kB / 389 MB, free: 35.55 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.57e-05/0.3275, allocations: 8 kB / 389 MB, free: 35.55 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.103e-06/0.3275, allocations: 4.156 kB / 389 MB, free: 35.54 MB / 298.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006561/0.3282, allocations: 346.1 kB / 389.3 MB, free: 35.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.848e-06/0.3282, allocations: 4 kB / 389.3 MB, free: 35.19 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.401e-05/0.3283, allocations: 36.84 kB / 389.4 MB, free: 35.15 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001673/0.3284, allocations: 44 kB / 389.4 MB, free: 35.11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008843/0.3293, allocations: 1.549 MB / 391 MB, free: 33.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002542/0.3296, allocations: 47.81 kB / 391 MB, free: 33.38 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.406e-05/0.3296, allocations: 4 kB / 391 MB, free: 33.38 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (20): * Single equations (assignments): 18 * 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.0002116/0.3298, allocations: 220.2 kB / 391.2 MB, free: 33.15 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.804e-05/0.3299, allocations: 27.7 kB / 391.2 MB, free: 33.12 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.506e-05/0.3299, allocations: 29.77 kB / 391.3 MB, free: 33.1 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.3299, allocations: 0 / 391.3 MB, free: 33.1 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.33, allocations: 4 kB / 391.3 MB, free: 33.09 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.33, allocations: 0 / 391.3 MB, free: 33.09 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002566/0.3302, allocations: 289.4 kB / 391.6 MB, free: 32.76 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3302, allocations: 3.938 kB / 391.6 MB, free: 32.76 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001279/0.3304, allocations: 27.98 kB / 391.6 MB, free: 32.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002158/0.3306, allocations: 76.8 kB / 391.7 MB, free: 32.65 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.3306, allocations: 3.938 kB / 391.7 MB, free: 32.65 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0015/0.3321, allocations: 1.744 MB / 393.4 MB, free: 30.77 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3321, allocations: 0 / 393.4 MB, free: 30.77 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000719/0.3329, allocations: 365.5 kB / 393.8 MB, free: 30.39 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.039e-05/0.3329, allocations: 108.8 kB / 393.9 MB, free: 30.27 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.165e-05/0.333, allocations: 0 / 393.9 MB, free: 30.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002083/0.3332, allocations: 39.97 kB / 393.9 MB, free: 30.23 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.3333, allocations: 19.97 kB / 393.9 MB, free: 30.21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.3333, allocations: 11.92 kB / 394 MB, free: 30.2 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001545/0.3335, allocations: 190 kB / 394.1 MB, free: 30.01 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3335, allocations: 0 / 394.1 MB, free: 30.01 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005306/0.334, allocations: 123.7 kB / 394.3 MB, free: 29.89 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.0001651/0.3342, allocations: 111.2 kB / 394.4 MB, free: 29.77 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001319/0.3355, allocations: 0.7974 MB / 395.2 MB, free: 28.92 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.3355, allocations: 0 / 395.2 MB, free: 28.92 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004082/0.336, allocations: 250.6 kB / 395.4 MB, free: 28.66 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000334/0.3363, allocations: 50.83 kB / 395.5 MB, free: 28.62 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001785/0.3381, allocations: 0.92 MB / 396.4 MB, free: 27.67 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001793/0.3383, allocations: 0.7482 MB / 397.1 MB, free: 26.89 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001287/0.3384, allocations: 26.3 kB / 397.2 MB, free: 26.87 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.197e-05/0.3385, allocations: 19.44 kB / 397.2 MB, free: 26.85 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3385, allocations: 0 / 397.2 MB, free: 26.85 MB / 298.7 MB Notification: Performance of Templates: time 0.007606/0.3461, allocations: 3.859 MB / 401 MB, free: 23.01 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmp/NonInvertingAmp.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches