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.00129/0.00129, allocations: 93.08 kB / 16.65 MB, free: 6.535 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.00163/0.00163, allocations: 177.8 kB / 17.56 MB, free: 6.18 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.582/1.582, allocations: 223.3 MB / 241.6 MB, free: 14.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002873/0.0002875, allocations: 7.938 kB / 301.4 MB, free: 5.891 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1325, allocations: 50.42 MB / 351.8 MB, free: 3.457 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.002986/0.1355, allocations: 2.459 MB / 354.3 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001089/0.1366, allocations: 0.6311 MB / 354.9 MB, free: 352 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001156/0.1368, allocations: 4 kB / 354.9 MB, free: 348 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001193/0.1369, allocations: 27.77 kB / 355 MB, free: 320 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001677/0.1371, allocations: 87.36 kB / 355.1 MB, free: 232 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002341/0.1373, allocations: 75.94 kB / 355.1 MB, free: 156 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003771/0.1377, allocations: 350.6 kB / 355.5 MB, free: 15.8 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000231/0.1379, allocations: 111.5 kB / 355.6 MB, free: 15.7 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001538/0.1381, allocations: 123.4 kB / 355.7 MB, free: 15.57 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001889/0.1383, allocations: 143.4 kB / 355.8 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.664e-05/0.1384, allocations: 20 kB / 355.9 MB, free: 15.41 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.12e-05/0.1384, allocations: 16 kB / 355.9 MB, free: 15.4 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.135e-05/0.1385, allocations: 59.69 kB / 355.9 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000165/0.1386, allocations: 168.9 kB / 356.1 MB, free: 15.17 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00033/0.139, allocations: 358.9 kB / 356.4 MB, free: 14.82 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.139, allocations: 0 / 356.4 MB, free: 14.82 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.139, allocations: 0 / 356.4 MB, free: 14.82 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.139, allocations: 0 / 356.4 MB, free: 14.82 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.001202/0.1402, allocations: 0.6109 MB / 357.1 MB, free: 14.15 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.1403, allocations: 8.031 kB / 357.1 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.776e-05/0.1403, allocations: 32.56 kB / 357.1 MB, free: 14.11 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003209/0.1407, allocations: 280.5 kB / 357.4 MB, free: 13.79 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.6e-05/0.1407, allocations: 20.94 kB / 357.4 MB, free: 13.77 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.207e-05/0.1408, allocations: 28.31 kB / 357.4 MB, free: 13.75 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007185/0.1415, allocations: 319.6 kB / 357.7 MB, free: 13.43 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.1415, allocations: 0 / 357.7 MB, free: 13.43 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.208e-05/0.1416, allocations: 12 kB / 357.7 MB, free: 13.41 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.053e-05/0.1416, allocations: 4 kB / 357.7 MB, free: 13.41 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008135/0.1424, allocations: 277.5 kB / 358 MB, free: 13.14 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001697/0.1441, allocations: 1.109 MB / 359.1 MB, free: 11.94 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008343/0.145, allocations: 238.5 kB / 359.4 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003315/0.1453, allocations: 108.7 kB / 359.5 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.714e-05/0.1454, allocations: 4 kB / 359.5 MB, free: 11.58 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005286/0.1459, allocations: 173.9 kB / 359.6 MB, free: 11.39 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.654e-06/0.1459, allocations: 3.938 kB / 359.6 MB, free: 11.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.002146/0.1481, allocations: 0.5535 MB / 360.2 MB, free: 10.8 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.186e-05/0.1482, allocations: 110.8 kB / 360.3 MB, free: 10.67 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002928/0.1485, allocations: 286.6 kB / 360.6 MB, free: 10.38 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.815e-05/0.1485, allocations: 25.7 kB / 360.6 MB, free: 10.35 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001769/0.1487, allocations: 199.5 kB / 360.8 MB, free: 10.15 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.928e-05/0.1487, allocations: 43.39 kB / 360.8 MB, free: 10.11 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.292e-05/0.1488, allocations: 25.72 kB / 360.9 MB, free: 10.08 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.1489, allocations: 334.8 kB / 361.2 MB, free: 9.742 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003512/0.1493, allocations: 104.2 kB / 361.3 MB, free: 9.637 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000433/0.1497, allocations: 219 kB / 361.5 MB, free: 9.375 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007058/0.1504, allocations: 325.4 kB / 361.8 MB, free: 9.008 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.1504, allocations: 3.938 kB / 361.8 MB, free: 9.004 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001207/0.1516, allocations: 451.6 kB / 362.3 MB, free: 8.547 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.031e-05/0.1517, allocations: 37.69 kB / 362.3 MB, free: 8.504 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.1517, allocations: 4 kB / 362.3 MB, free: 8.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004008/0.1521, allocations: 76.84 kB / 362.4 MB, free: 8.422 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002249/0.1524, allocations: 55.89 kB / 362.4 MB, free: 8.367 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00241/0.1548, allocations: 1.589 MB / 364 MB, free: 6.645 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003708/0.1552, allocations: 59.72 kB / 364.1 MB, free: 6.586 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.828e-05/0.1552, allocations: 12 kB / 364.1 MB, free: 6.574 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.0001946/0.1554, allocations: 148.8 kB / 364.3 MB, free: 6.422 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.968e-05/0.1555, allocations: 31.66 kB / 364.3 MB, free: 6.391 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.091e-05/0.1555, allocations: 29.7 kB / 364.3 MB, free: 6.367 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.1555, allocations: 0 / 364.3 MB, free: 6.367 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.1555, allocations: 0 / 364.3 MB, free: 6.367 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1555, allocations: 4.188 kB / 364.3 MB, free: 6.363 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003021/0.1559, allocations: 301.3 kB / 364.6 MB, free: 6.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.1559, allocations: 3.984 kB / 364.6 MB, free: 6.016 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001256/0.156, allocations: 23.98 kB / 364.6 MB, free: 5.992 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002652/0.1563, allocations: 72.73 kB / 364.7 MB, free: 5.918 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.1563, allocations: 0 / 364.7 MB, free: 5.918 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002219/0.1585, allocations: 1.574 MB / 366.3 MB, free: 4.207 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.1585, allocations: 4 kB / 366.3 MB, free: 4.203 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001067/0.1596, allocations: 337.3 kB / 366.6 MB, free: 3.852 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001175/0.1597, allocations: 120.7 kB / 366.7 MB, free: 3.715 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.924e-05/0.1598, allocations: 8 kB / 366.7 MB, free: 3.707 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002563/0.1601, allocations: 31.95 kB / 366.8 MB, free: 3.676 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.1602, allocations: 28.14 kB / 366.8 MB, free: 3.648 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.38e-05/0.1602, allocations: 12 kB / 366.8 MB, free: 3.637 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000211/0.1604, allocations: 202 kB / 367 MB, free: 3.441 MB / 302.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1604, allocations: 0 / 367 MB, free: 3.441 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004024/0.1608, allocations: 75.84 kB / 367.1 MB, free: 3.367 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.0001449/0.161, allocations: 106.4 kB / 367.2 MB, free: 3.258 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001063/0.1621, allocations: 426.5 kB / 367.6 MB, free: 2.816 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.1621, allocations: 0 / 367.6 MB, free: 2.816 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005193/0.1626, allocations: 258.9 kB / 367.9 MB, free: 2.551 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003139/0.1629, allocations: 36.81 kB / 367.9 MB, free: 2.512 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.164, allocations: 0.5686 MB / 368.5 MB, free: 1.914 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002982/0.1643, allocations: 0.7443 MB / 369.2 MB, free: 1.145 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001065/0.1644, allocations: 26.28 kB / 369.2 MB, free: 1.121 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.709e-05/0.1645, allocations: 27.44 kB / 369.3 MB, free: 1.094 MB / 302.1 MB Notification: Performance of SimCode: time 1.974e-06/0.1645, allocations: 0 / 369.3 MB, free: 1.094 MB / 302.1 MB Notification: Performance of Templates: time 0.187/0.3515, allocations: 3.753 MB / 373 MB, free: 23.92 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/InvertingAmp/InvertingAmp.csv","/var/lib/jenkins/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