Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00147/0.00147, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001615/0.001615, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.501/1.501, allocations: 177 MB / 204.4 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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=1000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 272.2 MB, free: 1.789 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.478e-05/3.622e-05, allocations: 2.312 kB / 272.2 MB, free: 1.785 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.005064/0.005101, allocations: 2.63 MB / 274.8 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001394/0.006494, allocations: 0.6543 MB / 275.5 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001319/0.006626, allocations: 4 kB / 275.5 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001734/0.006799, allocations: 47.56 kB / 275.6 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002285/0.007028, allocations: 103.1 kB / 275.7 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002911/0.007319, allocations: 95.75 kB / 275.7 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004836/0.007803, allocations: 386.3 kB / 276.1 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001939/0.007997, allocations: 87.28 kB / 276.2 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003156/0.008312, allocations: 223.5 kB / 276.4 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002014/0.008514, allocations: 115.7 kB / 276.5 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.292e-05/0.008576, allocations: 32 kB / 276.6 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.173e-05/0.008638, allocations: 36 kB / 276.6 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.26e-05/0.008721, allocations: 79.67 kB / 276.7 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001651/0.008886, allocations: 119.7 kB / 276.8 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005043/0.00939, allocations: 394.7 kB / 277.2 MB, free: 12.79 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.009394, allocations: 0 / 277.2 MB, free: 12.79 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.009395, allocations: 0 / 277.2 MB, free: 12.79 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.009401, allocations: 0 / 277.2 MB, free: 12.79 MB / 266.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.001331/0.01073, allocations: 0.5819 MB / 277.8 MB, free: 12.17 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.01076, allocations: 8.031 kB / 277.8 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001187/0.01088, allocations: 52.75 kB / 277.8 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004289/0.01131, allocations: 222.1 kB / 278 MB, free: 11.87 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.061e-05/0.01134, allocations: 20.88 kB / 278.1 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.737e-05/0.01139, allocations: 24.38 kB / 278.1 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007891/0.01218, allocations: 358.6 kB / 278.4 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.01219, allocations: 192 / 278.4 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.356e-05/0.01222, allocations: 8.375 kB / 278.4 MB, free: 11.44 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/0.01224, allocations: 7.938 kB / 278.5 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008615/0.0131, allocations: 257.7 kB / 278.7 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001831/0.01493, allocations: 0.936 MB / 279.6 MB, free: 10.17 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008391/0.01577, allocations: 202.5 kB / 279.8 MB, free: 9.965 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003415/0.01611, allocations: 80.8 kB / 279.9 MB, free: 9.883 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.609e-05/0.01614, allocations: 7.984 kB / 279.9 MB, free: 9.875 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005236/0.01666, allocations: 225.2 kB / 280.1 MB, free: 9.621 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.283e-06/0.01666, allocations: 0 / 280.1 MB, free: 9.621 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.002315/0.01898, allocations: 446.1 kB / 280.6 MB, free: 9.176 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/0.01908, allocations: 110.8 kB / 280.7 MB, free: 9.043 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003219/0.0194, allocations: 261.8 kB / 280.9 MB, free: 8.773 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.449e-05/0.01943, allocations: 29.7 kB / 281 MB, free: 8.738 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001791/0.01961, allocations: 215.9 kB / 281.2 MB, free: 8.523 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.82e-05/0.01966, allocations: 39.69 kB / 281.2 MB, free: 8.484 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/0.01977, allocations: 53.89 kB / 281.3 MB, free: 8.422 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001969/0.01997, allocations: 334.8 kB / 281.6 MB, free: 8.086 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000382/0.02035, allocations: 121.8 kB / 281.7 MB, free: 7.961 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005175/0.02087, allocations: 291.1 kB / 282 MB, free: 7.609 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007871/0.02165, allocations: 301.5 kB / 282.3 MB, free: 7.266 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.257e-06/0.02166, allocations: 0 / 282.3 MB, free: 7.266 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001387/0.02304, allocations: 457.5 kB / 282.7 MB, free: 6.797 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.016e-05/0.02309, allocations: 37.7 kB / 282.8 MB, free: 6.754 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.0231, allocations: 4 kB / 282.8 MB, free: 6.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006288/0.02373, allocations: 108.8 kB / 282.9 MB, free: 6.641 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002348/0.02397, allocations: 47.89 kB / 282.9 MB, free: 6.594 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002765/0.02673, allocations: 1.593 MB / 284.5 MB, free: 4.906 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003799/0.02711, allocations: 59.8 kB / 284.6 MB, free: 4.848 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.786e-05/0.02714, allocations: 12 kB / 284.6 MB, free: 4.836 MB / 266.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 (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.0001864/0.02732, allocations: 144.7 kB / 284.7 MB, free: 4.688 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.789e-05/0.02738, allocations: 27.8 kB / 284.8 MB, free: 4.66 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.106e-05/0.02744, allocations: 25.77 kB / 284.8 MB, free: 4.629 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-06/0.02745, allocations: 4 kB / 284.8 MB, free: 4.625 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.02745, allocations: 4 kB / 284.8 MB, free: 4.621 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.02745, allocations: 0 / 284.8 MB, free: 4.621 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002699/0.02772, allocations: 205.1 kB / 285 MB, free: 4.391 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.02772, allocations: 0 / 285 MB, free: 4.391 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000144/0.02786, allocations: 19.97 kB / 285 MB, free: 4.371 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005335/0.0284, allocations: 104.8 kB / 285.1 MB, free: 4.266 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.792e-05/0.02842, allocations: 3.938 kB / 285.1 MB, free: 4.262 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002523/0.03094, allocations: 1.57 MB / 286.7 MB, free: 2.586 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.03094, allocations: 3.984 kB / 286.7 MB, free: 2.582 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/0.03205, allocations: 317.5 kB / 287 MB, free: 2.25 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.36e-05/0.03214, allocations: 35.77 kB / 287.1 MB, free: 2.215 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.749e-05/0.03218, allocations: 7.938 kB / 287.1 MB, free: 2.207 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002514/0.03243, allocations: 31.97 kB / 287.1 MB, free: 2.176 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.39e-05/0.03253, allocations: 23.95 kB / 287.1 MB, free: 2.152 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.03254, allocations: 4 kB / 287.1 MB, free: 2.148 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000329/0.03287, allocations: 185.2 kB / 287.3 MB, free: 1.973 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03287, allocations: 0 / 287.3 MB, free: 1.973 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003971/0.03327, allocations: 83.84 kB / 287.4 MB, free: 1.891 MB / 266.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.0001522/0.03342, allocations: 111.2 kB / 287.5 MB, free: 1.773 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001077/0.0345, allocations: 431.1 kB / 287.9 MB, free: 1.324 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.0345, allocations: 192 / 287.9 MB, free: 1.324 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005105/0.03501, allocations: 226.4 kB / 288.1 MB, free: 1.09 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002934/0.0353, allocations: 40.34 kB / 288.2 MB, free: 1.051 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/0.03637, allocations: 449.9 kB / 288.6 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001494/0.03652, allocations: 146.7 kB / 288.8 MB, free: 432 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.934e-05/0.03662, allocations: 26.28 kB / 288.8 MB, free: 408 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.414e-05/0.03669, allocations: 24.5 kB / 288.8 MB, free: 384 kB / 266.7 MB Notification: Performance of SimCode: time 5.61e-07/0.03669, allocations: 0 / 288.8 MB, free: 384 kB / 266.7 MB Notification: Performance of Templates: time 0.009017/0.04571, allocations: 4.088 MB / 292.9 MB, free: 12.34 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/InvertingAmp/InvertingAmp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.417232904001139]