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.00195/0.00195, allocations: 105.1 kB / 21.22 MB, free: 0.5117 MB / 14.72 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.002389/0.002389, allocations: 217.3 kB / 24.54 MB, free: 3.898 MB / 14.72 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.495/1.495, allocations: 230.3 MB / 258 MB, free: 8.238 MB / 206.1 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 0.003139/0.003139, allocations: 59.89 kB / 378.8 MB, free: 2.777 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2663/0.2694, allocations: 53.38 MB / 432.1 MB, free: 7.074 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.004524/0.2739, allocations: 2.832 MB / 435 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001479/0.2754, allocations: 0.6817 MB / 435.7 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001599/0.2756, allocations: 7.938 kB / 435.7 MB, free: 3.535 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001844/0.2758, allocations: 51.56 kB / 435.7 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002486/0.276, allocations: 83.2 kB / 435.8 MB, free: 3.402 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003096/0.2763, allocations: 95.81 kB / 435.9 MB, free: 3.309 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005297/0.2768, allocations: 374.5 kB / 436.3 MB, free: 2.941 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003035/0.2771, allocations: 83.36 kB / 436.3 MB, free: 2.859 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002716/0.2774, allocations: 151.5 kB / 436.5 MB, free: 2.711 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002386/0.2777, allocations: 163.4 kB / 436.6 MB, free: 2.551 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.268e-05/0.2777, allocations: 32 kB / 436.7 MB, free: 2.52 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.816e-05/0.2778, allocations: 39.94 kB / 436.7 MB, free: 2.48 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.867e-05/0.2779, allocations: 79.73 kB / 436.8 MB, free: 2.402 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001898/0.2781, allocations: 163.2 kB / 436.9 MB, free: 2.242 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005089/0.2786, allocations: 376.1 kB / 437.3 MB, free: 1.879 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.2786, allocations: 0 / 437.3 MB, free: 1.879 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.2786, allocations: 4 kB / 437.3 MB, free: 1.875 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.255e-06/0.2786, allocations: 0 / 437.3 MB, free: 1.875 MB / 334.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.001426/0.28, allocations: 0.582 MB / 437.9 MB, free: 1.258 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.2801, allocations: 8.031 kB / 437.9 MB, free: 1.25 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.151e-05/0.2801, allocations: 40.7 kB / 438 MB, free: 1.211 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004597/0.2806, allocations: 226.9 kB / 438.2 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.155e-05/0.2806, allocations: 20.86 kB / 438.2 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.845e-05/0.2807, allocations: 28.31 kB / 438.2 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007349/0.2814, allocations: 298.9 kB / 438.5 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.2814, allocations: 0 / 438.5 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.423e-05/0.2815, allocations: 16 kB / 438.5 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.2815, allocations: 8 kB / 438.5 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008619/0.2823, allocations: 249.5 kB / 438.8 MB, free: 348 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001886/0.2842, allocations: 1.051 MB / 439.8 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008388/0.2851, allocations: 202.5 kB / 440 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003285/0.2854, allocations: 88.72 kB / 440.1 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.7e-05/0.2854, allocations: 4 kB / 440.1 MB, free: 14.9 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004726/0.2859, allocations: 173.8 kB / 440.3 MB, free: 14.71 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.222e-06/0.2859, allocations: 0 / 440.3 MB, free: 14.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0022/0.2881, allocations: 445.8 kB / 440.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.934e-05/0.2882, allocations: 106.8 kB / 440.8 MB, free: 14.14 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003398/0.2885, allocations: 289.8 kB / 441.1 MB, free: 13.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.158e-05/0.2885, allocations: 29.7 kB / 441.1 MB, free: 13.81 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001501/0.2887, allocations: 192.1 kB / 441.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.6e-05/0.2887, allocations: 47.62 kB / 441.4 MB, free: 13.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.2888, allocations: 53.89 kB / 441.4 MB, free: 13.51 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.289, allocations: 334.8 kB / 441.8 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003619/0.2894, allocations: 92.16 kB / 441.8 MB, free: 13.08 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004433/0.2898, allocations: 206.1 kB / 442 MB, free: 12.83 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007805/0.2906, allocations: 300.5 kB / 442.3 MB, free: 12.49 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.2906, allocations: 3.938 kB / 442.3 MB, free: 12.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001299/0.2919, allocations: 423.8 kB / 442.8 MB, free: 12.06 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.766e-05/0.2919, allocations: 33.7 kB / 442.8 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.2919, allocations: 4 kB / 442.8 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003658/0.2923, allocations: 80.81 kB / 442.9 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002267/0.2925, allocations: 47.91 kB / 442.9 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002564/0.2951, allocations: 1.608 MB / 444.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003776/0.2955, allocations: 55.75 kB / 444.6 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.596e-05/0.2955, allocations: 12 kB / 444.6 MB, free: 10.1 MB / 350.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.0001701/0.2957, allocations: 153.6 kB / 444.7 MB, free: 9.938 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.868e-05/0.2957, allocations: 35.75 kB / 444.8 MB, free: 9.902 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.194e-05/0.2958, allocations: 21.7 kB / 444.8 MB, free: 9.883 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.2958, allocations: 4 kB / 444.8 MB, free: 9.879 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.714e-06/0.2958, allocations: 0 / 444.8 MB, free: 9.879 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.2958, allocations: 0 / 444.8 MB, free: 9.879 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002984/0.2961, allocations: 276.4 kB / 445.1 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.2961, allocations: 0 / 445.1 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001347/0.2962, allocations: 23.92 kB / 445.1 MB, free: 9.543 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002829/0.2965, allocations: 68.8 kB / 445.2 MB, free: 9.473 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.2965, allocations: 0 / 445.2 MB, free: 9.473 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002395/0.2989, allocations: 1.612 MB / 446.8 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2989, allocations: 4.062 kB / 446.8 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/0.3, allocations: 309.5 kB / 447.1 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.295e-05/0.3001, allocations: 35.83 kB / 447.1 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.976e-05/0.3001, allocations: 0 / 447.1 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002684/0.3004, allocations: 31.97 kB / 447.1 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.446e-05/0.3005, allocations: 23.95 kB / 447.2 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-05/0.3005, allocations: 8 kB / 447.2 MB, free: 7.316 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002182/0.3007, allocations: 201.1 kB / 447.4 MB, free: 7.121 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3007, allocations: 3.938 kB / 447.4 MB, free: 7.117 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003776/0.3011, allocations: 75.89 kB / 447.5 MB, free: 7.043 MB / 350.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.0001258/0.3012, allocations: 99.25 kB / 447.6 MB, free: 6.938 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001094/0.3023, allocations: 409.6 kB / 448 MB, free: 6.516 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.3023, allocations: 0 / 448 MB, free: 6.516 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005058/0.3028, allocations: 222.7 kB / 448.2 MB, free: 6.285 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003037/0.3031, allocations: 33.73 kB / 448.2 MB, free: 6.254 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.3043, allocations: 492.1 kB / 448.7 MB, free: 5.75 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004206/0.3047, allocations: 0.7557 MB / 449.4 MB, free: 4.969 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001115/0.3049, allocations: 26.28 kB / 449.5 MB, free: 4.941 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.773e-05/0.3049, allocations: 23.42 kB / 449.5 MB, free: 4.918 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3049, allocations: 0 / 449.5 MB, free: 4.918 MB / 350.1 MB Notification: Performance of Templates: time 0.009846/0.3148, allocations: 4.428 MB / 453.9 MB, free: 0.5312 MB / 350.1 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.656144081614912]