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.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.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.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.001009/0.001009, allocations: 178.6 kB / 17.36 MB, free: 4.191 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.515/1.515, allocations: 205.6 MB / 223.7 MB, free: 8.941 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.000839/0.0008391, allocations: 86.38 kB / 272.1 MB, free: 8.113 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003049/0.0003056, allocations: 8 kB / 329 MB, free: 15.05 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2671/0.2675, allocations: 47.57 MB / 376.6 MB, free: 45.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.002797/0.2703, allocations: 2.334 MB / 378.9 MB, free: 43.73 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001038/0.2714, allocations: 0.738 MB / 379.7 MB, free: 43.1 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001235/0.2715, allocations: 4.25 kB / 379.7 MB, free: 43.1 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001301/0.2717, allocations: 40.84 kB / 379.7 MB, free: 43.06 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001534/0.2718, allocations: 76.38 kB / 379.8 MB, free: 43 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002173/0.2721, allocations: 76.67 kB / 379.9 MB, free: 42.93 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003418/0.2724, allocations: 354.7 kB / 380.2 MB, free: 42.73 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002276/0.2727, allocations: 97.95 kB / 380.3 MB, free: 42.68 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001506/0.2728, allocations: 129.1 kB / 380.4 MB, free: 42.6 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001649/0.273, allocations: 148.1 kB / 380.6 MB, free: 42.5 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.55e-05/0.273, allocations: 17.22 kB / 380.6 MB, free: 42.5 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.045e-05/0.2731, allocations: 22.56 kB / 380.6 MB, free: 42.5 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.021e-05/0.2732, allocations: 51.73 kB / 380.7 MB, free: 42.45 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001547/0.2733, allocations: 167.3 kB / 380.8 MB, free: 42.33 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002989/0.2736, allocations: 352.9 kB / 381.2 MB, free: 42.07 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.784e-06/0.2736, allocations: 0 / 381.2 MB, free: 42.07 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.2736, allocations: 4 kB / 381.2 MB, free: 42.06 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.888e-06/0.2737, allocations: 1.031 kB / 381.2 MB, free: 42.06 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001135/0.2748, allocations: 0.6158 MB / 381.8 MB, free: 41.51 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.2749, allocations: 9.875 kB / 381.8 MB, free: 41.51 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.136e-05/0.2749, allocations: 33.56 kB / 381.8 MB, free: 41.5 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002782/0.2752, allocations: 279.8 kB / 382.1 MB, free: 41.21 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.706e-05/0.2753, allocations: 18.16 kB / 382.1 MB, free: 41.2 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.2e-05/0.2753, allocations: 29.53 kB / 382.2 MB, free: 41.19 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000706/0.276, allocations: 310.7 kB / 382.5 MB, free: 41 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.276, allocations: 0 / 382.5 MB, free: 41 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.077e-05/0.2761, allocations: 14.16 kB / 382.5 MB, free: 40.98 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.2761, allocations: 6.562 kB / 382.5 MB, free: 40.98 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007603/0.2769, allocations: 276.4 kB / 382.8 MB, free: 40.86 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001555/0.2784, allocations: 1.117 MB / 383.9 MB, free: 39.89 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007321/0.2792, allocations: 240.9 kB / 384.1 MB, free: 39.77 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003104/0.2795, allocations: 104.2 kB / 384.2 MB, free: 39.71 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.2795, allocations: 1.375 kB / 384.2 MB, free: 39.71 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00044/0.28, allocations: 177.5 kB / 384.4 MB, free: 39.58 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 1.313e-06/0.28, allocations: 4 kB / 384.4 MB, free: 39.58 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.001926/0.2819, allocations: 0.5462 MB / 384.9 MB, free: 39.25 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.282, allocations: 110 kB / 385 MB, free: 39.12 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002547/0.2822, allocations: 288.5 kB / 385.3 MB, free: 38.92 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.2823, allocations: 32.23 kB / 385.4 MB, free: 38.89 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.2824, allocations: 191.8 kB / 385.5 MB, free: 38.71 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.921e-05/0.2824, allocations: 37.05 kB / 385.6 MB, free: 38.68 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.254e-05/0.2824, allocations: 5.75 kB / 385.6 MB, free: 38.68 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.474e-05/0.2825, allocations: 331.4 kB / 385.9 MB, free: 38.35 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003315/0.2829, allocations: 111.2 kB / 386 MB, free: 38.3 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003574/0.2832, allocations: 204.9 kB / 386.2 MB, free: 38.12 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006449/0.2839, allocations: 329.9 kB / 386.5 MB, free: 37.86 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.2839, allocations: 4.938 kB / 386.5 MB, free: 37.86 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001132/0.285, allocations: 444.6 kB / 387 MB, free: 37.61 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.91e-05/0.2851, allocations: 37.7 kB / 387 MB, free: 37.58 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.2851, allocations: 2.438 kB / 387 MB, free: 37.58 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003287/0.2854, allocations: 80.95 kB / 387.1 MB, free: 37.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001964/0.2856, allocations: 51.97 kB / 387.1 MB, free: 37.47 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001778/0.2874, allocations: 1.597 MB / 388.7 MB, free: 35.74 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003183/0.2878, allocations: 59.72 kB / 388.8 MB, free: 35.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.347e-05/0.2878, allocations: 19.98 kB / 388.8 MB, free: 35.66 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001088/0.2879, allocations: 143.2 kB / 389 MB, free: 35.51 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.947e-05/0.2879, allocations: 27.66 kB / 389 MB, free: 35.48 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.157e-05/0.288, allocations: 29.7 kB / 389 MB, free: 35.45 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.288, allocations: 0 / 389 MB, free: 35.45 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.288, allocations: 0 / 389 MB, free: 35.45 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.288, allocations: 11.91 kB / 389 MB, free: 35.44 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000201/0.2882, allocations: 301.4 kB / 389.3 MB, free: 35.1 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.2882, allocations: 0 / 389.3 MB, free: 35.1 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001192/0.2884, allocations: 27.97 kB / 389.3 MB, free: 35.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002185/0.2886, allocations: 68.98 kB / 389.4 MB, free: 35 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.2886, allocations: 4 kB / 389.4 MB, free: 35 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001512/0.2901, allocations: 1.574 MB / 391 MB, free: 33.29 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.2901, allocations: 4.031 kB / 391 MB, free: 33.29 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008718/0.291, allocations: 329.4 kB / 391.3 MB, free: 32.94 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.561e-05/0.2911, allocations: 116.7 kB / 391.4 MB, free: 32.81 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.495e-05/0.2911, allocations: 12 kB / 391.4 MB, free: 32.8 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002261/0.2914, allocations: 35.95 kB / 391.5 MB, free: 32.76 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.494e-05/0.2915, allocations: 27.91 kB / 391.5 MB, free: 32.73 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.2915, allocations: 4 kB / 391.5 MB, free: 32.73 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000149/0.2916, allocations: 198 kB / 391.7 MB, free: 32.54 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2917, allocations: 4 kB / 391.7 MB, free: 32.53 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002894/0.2919, allocations: 79.84 kB / 391.8 MB, free: 32.45 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 (7): * Single equations (assignments): 4 * 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.0001106/0.2921, allocations: 111.7 kB / 391.9 MB, free: 32.33 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000834/0.2929, allocations: 426.2 kB / 392.3 MB, free: 31.89 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2929, allocations: 0 / 392.3 MB, free: 31.89 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000375/0.2933, allocations: 250.9 kB / 392.6 MB, free: 31.63 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002836/0.2936, allocations: 39.62 kB / 392.6 MB, free: 31.6 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000831/0.2944, allocations: 0.5608 MB / 393.2 MB, free: 31.02 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000159/0.2946, allocations: 0.7521 MB / 393.9 MB, free: 30.24 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001044/0.2947, allocations: 30.27 kB / 393.9 MB, free: 30.21 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.933e-05/0.2948, allocations: 19.44 kB / 394 MB, free: 30.19 MB / 298.7 MB Notification: Performance of SimCode: time 2.21e-07/0.2948, allocations: 0 / 394 MB, free: 30.19 MB / 298.7 MB Notification: Performance of Templates: time 0.006794/0.3016, allocations: 3.76 MB / 397.7 MB, free: 26.44 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/InvertingAmp/InvertingAmp.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches