Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 112.8 kB / 17.68 MB, free: 5.473 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 190.9 kB / 18.62 MB, free: 4.543 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.672/1.672, allocations: 222.9 MB / 242.3 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001019/0.001019, allocations: 62.61 kB / 302.1 MB, free: 5.125 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1278, allocations: 49.44 MB / 351.5 MB, free: 3.66 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.004139/0.132, allocations: 2.777 MB / 354.3 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001193/0.1333, allocations: 0.6466 MB / 354.9 MB, free: 216 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001416/0.1334, allocations: 4 kB / 354.9 MB, free: 212 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001703/0.1336, allocations: 43.52 kB / 355 MB, free: 168 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001788/0.1338, allocations: 99.11 kB / 355.1 MB, free: 68 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002917/0.1341, allocations: 87.88 kB / 355.2 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004007/0.1345, allocations: 382.3 kB / 355.5 MB, free: 15.61 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002511/0.1348, allocations: 118.9 kB / 355.6 MB, free: 15.49 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001902/0.135, allocations: 155.3 kB / 355.8 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002115/0.1352, allocations: 163.4 kB / 356 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.462e-05/0.1352, allocations: 32 kB / 356 MB, free: 15.14 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.494e-05/0.1353, allocations: 36 kB / 356 MB, free: 15.11 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.671e-05/0.1354, allocations: 75.7 kB / 356.1 MB, free: 15.04 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001638/0.1356, allocations: 159.2 kB / 356.2 MB, free: 14.88 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003634/0.1359, allocations: 382.6 kB / 356.6 MB, free: 14.5 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1359, allocations: 0 / 356.6 MB, free: 14.5 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.1359, allocations: 4 kB / 356.6 MB, free: 14.5 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.565e-06/0.136, allocations: 0 / 356.6 MB, free: 14.5 MB / 302.1 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.001297/0.1373, allocations: 0.6497 MB / 357.3 MB, free: 13.79 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.1373, allocations: 12.03 kB / 357.3 MB, free: 13.78 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.457e-05/0.1374, allocations: 32.56 kB / 357.3 MB, free: 13.75 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003841/0.1378, allocations: 280.6 kB / 357.6 MB, free: 13.43 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.452e-05/0.1378, allocations: 20.94 kB / 357.6 MB, free: 13.41 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.228e-05/0.1379, allocations: 24.38 kB / 357.6 MB, free: 13.39 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006195/0.1385, allocations: 307.6 kB / 357.9 MB, free: 13.08 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.1385, allocations: 0 / 357.9 MB, free: 13.08 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.96e-05/0.1385, allocations: 8 kB / 357.9 MB, free: 13.07 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-06/0.1386, allocations: 8 kB / 358 MB, free: 13.07 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000748/0.1393, allocations: 245.6 kB / 358.2 MB, free: 12.83 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001667/0.141, allocations: 1.085 MB / 359.3 MB, free: 11.65 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007176/0.1417, allocations: 210.6 kB / 359.5 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002872/0.142, allocations: 96.78 kB / 359.6 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.002e-05/0.1421, allocations: 0 / 359.6 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004231/0.1425, allocations: 173.8 kB / 359.7 MB, free: 11.14 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.042e-06/0.1425, allocations: 0 / 359.7 MB, free: 11.14 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.001933/0.1444, allocations: 0.5105 MB / 360.3 MB, free: 10.61 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/0.1445, allocations: 102.8 kB / 360.4 MB, free: 10.48 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002968/0.1449, allocations: 290.5 kB / 360.6 MB, free: 10.18 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.936e-05/0.1449, allocations: 33.7 kB / 360.7 MB, free: 10.14 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002022/0.1451, allocations: 187.6 kB / 360.9 MB, free: 9.957 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.185e-05/0.1451, allocations: 47.38 kB / 360.9 MB, free: 9.91 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.551e-05/0.1452, allocations: 57.84 kB / 361 MB, free: 9.844 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.1454, allocations: 334.8 kB / 361.3 MB, free: 9.508 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003054/0.1457, allocations: 96.09 kB / 361.4 MB, free: 9.414 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003579/0.1461, allocations: 206.1 kB / 361.6 MB, free: 9.164 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006794/0.1468, allocations: 293.5 kB / 361.9 MB, free: 8.828 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.1468, allocations: 7.938 kB / 361.9 MB, free: 8.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001172/0.148, allocations: 427.6 kB / 362.3 MB, free: 8.387 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.099e-05/0.148, allocations: 33.7 kB / 362.3 MB, free: 8.348 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.986e-06/0.148, allocations: 4 kB / 362.3 MB, free: 8.344 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003539/0.1484, allocations: 84.83 kB / 362.4 MB, free: 8.258 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002227/0.1486, allocations: 43.91 kB / 362.5 MB, free: 8.215 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002633/0.1513, allocations: 1.715 MB / 364.2 MB, free: 6.363 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003495/0.1516, allocations: 51.66 kB / 364.2 MB, free: 6.312 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.865e-05/0.1517, allocations: 16 kB / 364.2 MB, free: 6.297 MB / 302.1 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 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * 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.0001908/0.1519, allocations: 149.7 kB / 364.4 MB, free: 6.141 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.17e-05/0.1519, allocations: 23.72 kB / 364.4 MB, free: 6.117 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.833e-05/0.152, allocations: 25.7 kB / 364.4 MB, free: 6.098 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.152, allocations: 0 / 364.4 MB, free: 6.098 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.494e-06/0.152, allocations: 0 / 364.4 MB, free: 6.098 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.152, allocations: 7.984 kB / 364.4 MB, free: 6.09 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003229/0.1523, allocations: 297.5 kB / 364.7 MB, free: 5.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.1523, allocations: 4 kB / 364.7 MB, free: 5.746 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001162/0.1525, allocations: 23.97 kB / 364.8 MB, free: 5.723 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002696/0.1527, allocations: 68.8 kB / 364.8 MB, free: 5.652 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.1528, allocations: 0 / 364.8 MB, free: 5.652 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002308/0.1551, allocations: 1.703 MB / 366.5 MB, free: 3.809 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1551, allocations: 0 / 366.5 MB, free: 3.809 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000972/0.1561, allocations: 309.4 kB / 366.8 MB, free: 3.484 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001203/0.1562, allocations: 112.8 kB / 366.9 MB, free: 3.355 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.539e-05/0.1562, allocations: 7.938 kB / 366.9 MB, free: 3.348 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002336/0.1565, allocations: 35.95 kB / 367 MB, free: 3.312 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/0.1566, allocations: 28.14 kB / 367 MB, free: 3.285 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.557e-05/0.1566, allocations: 8 kB / 367 MB, free: 3.277 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002223/0.1569, allocations: 201.9 kB / 367.2 MB, free: 3.082 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1569, allocations: 0 / 367.2 MB, free: 3.082 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004792/0.1574, allocations: 79.84 kB / 367.3 MB, free: 3.004 MB / 302.1 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.0001528/0.1575, allocations: 103.7 kB / 367.4 MB, free: 2.895 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009226/0.1584, allocations: 410.2 kB / 367.8 MB, free: 2.469 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1585, allocations: 4.25 kB / 367.8 MB, free: 2.465 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000525/0.159, allocations: 226.5 kB / 368 MB, free: 2.23 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.1593, allocations: 36.86 kB / 368.1 MB, free: 2.191 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009555/0.1603, allocations: 456.5 kB / 368.5 MB, free: 1.719 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004609/0.1608, allocations: 0.7518 MB / 369.3 MB, free: 0.9375 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.701e-05/0.1609, allocations: 26.23 kB / 369.3 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.772e-05/0.1609, allocations: 23.42 kB / 369.3 MB, free: 0.8867 MB / 302.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1609, allocations: 0 / 369.3 MB, free: 0.8867 MB / 302.1 MB Notification: Performance of Templates: time 0.2339/0.3948, allocations: 4.163 MB / 373.5 MB, free: 24.77 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/InvertingAmp/InvertingAmp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches