Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.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.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001233/0.001233, allocations: 197.6 kB / 17.43 MB, free: 4.375 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.512/1.512, allocations: 229.5 MB / 247.7 MB, free: 6.367 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009661/0.0009662, allocations: 97.72 kB / 299.9 MB, free: 5.387 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002474/0.0002474, allocations: 4 kB / 360.6 MB, free: 8.523 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2544/0.2546, allocations: 51.41 MB / 412.1 MB, free: 25.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.002346/0.257, allocations: 2.388 MB / 414.4 MB, free: 23.54 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001026/0.2581, allocations: 0.8813 MB / 415.3 MB, free: 22.61 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001255/0.2582, allocations: 4 kB / 415.3 MB, free: 22.6 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001371/0.2584, allocations: 35.75 kB / 415.4 MB, free: 22.57 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001715/0.2585, allocations: 77.2 kB / 415.4 MB, free: 22.49 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002891/0.2588, allocations: 81.36 kB / 415.5 MB, free: 22.41 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002712/0.2591, allocations: 358.5 kB / 415.9 MB, free: 22.06 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001926/0.2593, allocations: 103.3 kB / 416 MB, free: 21.96 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001228/0.2595, allocations: 123.5 kB / 416.1 MB, free: 21.84 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001512/0.2596, allocations: 143.4 kB / 416.2 MB, free: 21.7 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.787e-05/0.2597, allocations: 20 kB / 416.2 MB, free: 21.68 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.429e-05/0.2597, allocations: 23.94 kB / 416.3 MB, free: 21.65 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.173e-05/0.2598, allocations: 51.75 kB / 416.3 MB, free: 21.6 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001522/0.2599, allocations: 168.9 kB / 416.5 MB, free: 21.43 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002516/0.2602, allocations: 348.2 kB / 416.8 MB, free: 21.09 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.82e-06/0.2602, allocations: 0 / 416.8 MB, free: 21.09 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.2602, allocations: 7.938 kB / 416.8 MB, free: 21.08 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.2602, allocations: 0 / 416.8 MB, free: 21.08 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.001045/0.2613, allocations: 0.6148 MB / 417.4 MB, free: 20.41 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.2613, allocations: 8.031 kB / 417.5 MB, free: 20.4 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.651e-05/0.2614, allocations: 36.56 kB / 417.5 MB, free: 20.37 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002702/0.2617, allocations: 272.6 kB / 417.8 MB, free: 20.06 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.714e-05/0.2617, allocations: 24.88 kB / 417.8 MB, free: 20.03 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.713e-05/0.2618, allocations: 24.38 kB / 417.8 MB, free: 20.01 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005988/0.2624, allocations: 315.7 kB / 418.1 MB, free: 19.69 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.2624, allocations: 3.984 kB / 418.1 MB, free: 19.69 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.705e-05/0.2624, allocations: 4 kB / 418.1 MB, free: 19.68 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.2624, allocations: 8 kB / 418.1 MB, free: 19.68 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006883/0.2631, allocations: 281.5 kB / 418.4 MB, free: 19.4 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001433/0.2646, allocations: 1.105 MB / 419.5 MB, free: 18.2 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007085/0.2653, allocations: 234.5 kB / 419.7 MB, free: 17.96 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002645/0.2656, allocations: 108.8 kB / 419.8 MB, free: 17.86 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/0.2656, allocations: 7.938 kB / 419.9 MB, free: 17.85 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004385/0.266, allocations: 177.8 kB / 420 MB, free: 17.65 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 1.353e-06/0.2661, allocations: 0 / 420 MB, free: 17.65 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.001859/0.2679, allocations: 0.5496 MB / 420.6 MB, free: 17.07 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.137e-05/0.268, allocations: 110.8 kB / 420.7 MB, free: 16.94 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002551/0.2682, allocations: 286.5 kB / 421 MB, free: 16.65 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/0.2683, allocations: 29.7 kB / 421 MB, free: 16.62 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.2684, allocations: 203.5 kB / 421.2 MB, free: 16.41 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.736e-05/0.2684, allocations: 35.55 kB / 421.2 MB, free: 16.38 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.187e-05/0.2684, allocations: 8 kB / 421.2 MB, free: 16.37 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.999e-05/0.2685, allocations: 334.8 kB / 421.6 MB, free: 16.04 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002882/0.2688, allocations: 100.2 kB / 421.7 MB, free: 15.93 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003159/0.2692, allocations: 214.1 kB / 421.9 MB, free: 15.68 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005526/0.2697, allocations: 329.3 kB / 422.2 MB, free: 15.3 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.2697, allocations: 3.938 kB / 422.2 MB, free: 15.3 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009801/0.2707, allocations: 447.7 kB / 422.6 MB, free: 14.85 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.311e-05/0.2708, allocations: 33.7 kB / 422.7 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.353e-06/0.2708, allocations: 0 / 422.7 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003188/0.2711, allocations: 76.83 kB / 422.7 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001963/0.2713, allocations: 59.89 kB / 422.8 MB, free: 14.67 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00185/0.2732, allocations: 1.582 MB / 424.4 MB, free: 12.96 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003377/0.2735, allocations: 67.64 kB / 424.4 MB, free: 12.89 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.746e-05/0.2736, allocations: 16.06 kB / 424.5 MB, free: 12.88 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.000149/0.2737, allocations: 141.8 kB / 424.6 MB, free: 12.73 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.386e-05/0.2738, allocations: 27.66 kB / 424.6 MB, free: 12.7 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.178e-05/0.2738, allocations: 25.7 kB / 424.7 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.2738, allocations: 0 / 424.7 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.2738, allocations: 0 / 424.7 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.2738, allocations: 0 / 424.7 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002484/0.2741, allocations: 309.3 kB / 425 MB, free: 12.33 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2741, allocations: 0 / 425 MB, free: 12.33 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001172/0.2742, allocations: 31.97 kB / 425 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002261/0.2744, allocations: 64.75 kB / 425 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.2745, allocations: 7.938 kB / 425.1 MB, free: 12.22 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001575/0.2761, allocations: 1.578 MB / 426.6 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.2761, allocations: 4 kB / 426.6 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008354/0.2769, allocations: 337.5 kB / 427 MB, free: 10.15 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.234e-05/0.277, allocations: 116.7 kB / 427.1 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.619e-05/0.2771, allocations: 8 kB / 427.1 MB, free: 10.01 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002144/0.2773, allocations: 35.97 kB / 427.1 MB, free: 9.977 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.253e-05/0.2774, allocations: 27.91 kB / 427.2 MB, free: 9.949 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.2774, allocations: 0 / 427.2 MB, free: 9.949 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001542/0.2775, allocations: 202 kB / 427.3 MB, free: 9.75 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2776, allocations: 0 / 427.3 MB, free: 9.75 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002966/0.2779, allocations: 79.84 kB / 427.4 MB, free: 9.672 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.000122/0.278, allocations: 107.2 kB / 427.5 MB, free: 9.559 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000854/0.2788, allocations: 434.4 kB / 428 MB, free: 9.109 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2789, allocations: 0 / 428 MB, free: 9.109 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003755/0.2792, allocations: 239.2 kB / 428.2 MB, free: 8.863 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003126/0.2796, allocations: 46.28 kB / 428.2 MB, free: 8.82 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009014/0.2805, allocations: 0.5685 MB / 428.8 MB, free: 8.227 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000167/0.2807, allocations: 0.756 MB / 429.6 MB, free: 7.445 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.919e-05/0.2808, allocations: 22.3 kB / 429.6 MB, free: 7.426 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.879e-05/0.2808, allocations: 19.44 kB / 429.6 MB, free: 7.406 MB / 298.7 MB Notification: Performance of SimCode: time 2.8e-07/0.2808, allocations: 0 / 429.6 MB, free: 7.406 MB / 298.7 MB Notification: Performance of Templates: time 0.006331/0.2872, allocations: 3.776 MB / 433.4 MB, free: 3.645 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/InvertingAmp/InvertingAmp.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches