Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.007204/0.007204, allocations: 160 kB / 24.7 MB, free: 9.426 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9176/0.9176, allocations: 177.1 MB / 205 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.v_out|rootMeanSquare.mean.x",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.v_out|rootMeanSquare.mean.x",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.285e-06/2.285e-06, allocations: 0 / 325.9 MB, free: 15.38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.922e-05/3.15e-05, allocations: 6.219 kB / 325.9 MB, free: 15.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.003959/0.003991, allocations: 4.07 MB / 330 MB, free: 11.28 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001564/0.005554, allocations: 1.222 MB / 331.2 MB, free: 10.05 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001895/0.005744, allocations: 15.88 kB / 331.2 MB, free: 10.04 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003524/0.006096, allocations: 138.8 kB / 331.3 MB, free: 9.898 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000285/0.006381, allocations: 222 kB / 331.5 MB, free: 9.68 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003503/0.006731, allocations: 215.5 kB / 331.8 MB, free: 9.469 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004986/0.00723, allocations: 0.8053 MB / 332.6 MB, free: 8.656 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002566/0.007487, allocations: 175.1 kB / 332.7 MB, free: 8.488 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003696/0.007856, allocations: 447 kB / 333.2 MB, free: 8.051 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002415/0.008098, allocations: 243.2 kB / 333.4 MB, free: 7.812 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.924e-05/0.008157, allocations: 64 kB / 333.5 MB, free: 7.75 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.99e-05/0.008247, allocations: 72 kB / 333.5 MB, free: 7.68 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.356e-05/0.00833, allocations: 143.4 kB / 333.7 MB, free: 7.539 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001525/0.008483, allocations: 243.3 kB / 333.9 MB, free: 7.301 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000549/0.009032, allocations: 0.7709 MB / 334.7 MB, free: 6.527 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.009036, allocations: 4 kB / 334.7 MB, free: 6.523 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.492e-06/0.009038, allocations: 0 / 334.7 MB, free: 6.523 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.114e-06/0.009045, allocations: 0 / 334.7 MB, free: 6.523 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.00137/0.01041, allocations: 0.945 MB / 335.6 MB, free: 5.547 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.01045, allocations: 12.03 kB / 335.6 MB, free: 5.535 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001799/0.01063, allocations: 100.4 kB / 335.7 MB, free: 5.438 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003779/0.01101, allocations: 363.4 kB / 336.1 MB, free: 5.055 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.58e-05/0.01104, allocations: 45.69 kB / 336.1 MB, free: 5.012 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.984e-05/0.01109, allocations: 52.38 kB / 336.2 MB, free: 4.961 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000643/0.01173, allocations: 0.7219 MB / 336.9 MB, free: 4.184 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.01174, allocations: 192 / 336.9 MB, free: 4.184 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.537e-05/0.01178, allocations: 35.88 kB / 337 MB, free: 4.148 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.01179, allocations: 12 kB / 337 MB, free: 4.137 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004969/0.01229, allocations: 421 kB / 337.4 MB, free: 3.723 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001687/0.01397, allocations: 1.557 MB / 338.9 MB, free: 2.09 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004841/0.01446, allocations: 348 kB / 339.3 MB, free: 1.742 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005632/0.01502, allocations: 411.7 kB / 339.7 MB, free: 1.34 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.939e-05/0.01505, allocations: 12.27 kB / 339.7 MB, free: 1.328 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004361/0.01549, allocations: 474.1 kB / 340.2 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of pre-optimization done (n=41): time 1.513e-06/0.01549, allocations: 0 / 340.2 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of matching and sorting (n=41): time 0.001895/0.01738, allocations: 1.106 MB / 341.3 MB, free: 15.66 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.041e-05/0.01747, allocations: 235.3 kB / 341.5 MB, free: 15.38 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000314/0.01779, allocations: 429.7 kB / 341.9 MB, free: 14.95 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.752e-05/0.01781, allocations: 41.7 kB / 341.9 MB, free: 14.9 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004295/0.01824, allocations: 316.6 kB / 342.3 MB, free: 14.59 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.251e-05/0.01832, allocations: 142.8 kB / 342.4 MB, free: 14.45 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.637e-05/0.01841, allocations: 98.12 kB / 342.5 MB, free: 14.35 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.876e-05/0.01851, allocations: 354.8 kB / 342.8 MB, free: 13.99 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001947/0.01871, allocations: 148.9 kB / 343 MB, free: 13.85 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003237/0.01903, allocations: 0.4931 MB / 343.5 MB, free: 13.23 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004396/0.01947, allocations: 443.2 kB / 343.9 MB, free: 12.75 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.01947, allocations: 3.938 kB / 343.9 MB, free: 12.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0009109/0.02038, allocations: 0.7481 MB / 344.7 MB, free: 11.99 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.02041, allocations: 12.06 kB / 344.7 MB, free: 11.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.02041, allocations: 4.047 kB / 344.7 MB, free: 11.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003977/0.02081, allocations: 180.7 kB / 344.9 MB, free: 11.8 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001789/0.02099, allocations: 87.83 kB / 344.9 MB, free: 11.71 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002444/0.02343, allocations: 2.624 MB / 347.6 MB, free: 8.988 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002529/0.02369, allocations: 83.7 kB / 347.6 MB, free: 8.906 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.947e-05/0.02371, allocations: 16 kB / 347.7 MB, free: 8.891 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,rootMeanSquare.mean.y_last,$PRE.rootMeanSquare.mean.y_last) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * 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 {(2,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0001854/0.02389, allocations: 181.6 kB / 347.8 MB, free: 8.703 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.418e-05/0.02394, allocations: 55.67 kB / 347.9 MB, free: 8.648 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.76e-05/0.02399, allocations: 52.81 kB / 347.9 MB, free: 8.598 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.024, allocations: 4 kB / 347.9 MB, free: 8.594 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.024, allocations: 4 kB / 348 MB, free: 8.59 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.02401, allocations: 3.984 kB / 348 MB, free: 8.586 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001226/0.02523, allocations: 1.09 MB / 349 MB, free: 7.453 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.02524, allocations: 3.938 kB / 349 MB, free: 7.449 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003818/0.02562, allocations: 47.97 kB / 349.1 MB, free: 7.402 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003048/0.02592, allocations: 191.2 kB / 349.3 MB, free: 7.215 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.771e-05/0.02594, allocations: 7.984 kB / 349.3 MB, free: 7.207 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002157/0.0281, allocations: 2.613 MB / 351.9 MB, free: 4.496 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.0281, allocations: 7.938 kB / 351.9 MB, free: 4.488 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/0.02913, allocations: 0.9026 MB / 352.8 MB, free: 3.566 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.266e-05/0.02918, allocations: 55.56 kB / 352.9 MB, free: 3.512 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.53e-05/0.02922, allocations: 12 kB / 352.9 MB, free: 3.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001606/0.02938, allocations: 40.03 kB / 352.9 MB, free: 3.461 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.365e-05/0.02944, allocations: 31.94 kB / 352.9 MB, free: 3.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.727e-05/0.02946, allocations: 15.98 kB / 353 MB, free: 3.414 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002122/0.02967, allocations: 283.2 kB / 353.2 MB, free: 3.141 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02967, allocations: 0 / 353.2 MB, free: 3.141 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004467/0.03012, allocations: 187.7 kB / 353.4 MB, free: 2.957 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (rootMeanSquare.mean.x) * Number of discrete variables: 2 ($whenCondition1,rootMeanSquare.mean.y_last) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {(3,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001312/0.03025, allocations: 111.1 kB / 353.5 MB, free: 2.836 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007341/0.03099, allocations: 0.5576 MB / 354.1 MB, free: 2.266 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.03099, allocations: 4.25 kB / 354.1 MB, free: 2.262 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000348/0.03134, allocations: 374.2 kB / 354.5 MB, free: 1.883 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003242/0.03166, allocations: 69.5 kB / 354.5 MB, free: 1.812 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.0328, allocations: 0.9321 MB / 355.5 MB, free: 0.8438 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000171/0.03297, allocations: 267.5 kB / 355.7 MB, free: 0.5547 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.219e-05/0.03304, allocations: 36.5 kB / 355.8 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of SimCode: time 7.32e-07/0.03304, allocations: 3.938 kB / 355.8 MB, free: 0.5117 MB / 314.7 MB Notification: Performance of Templates: time 0.008234/0.04128, allocations: 8.535 MB / 364.3 MB, free: 8 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/DifferentialAmplifier/DifferentialAmplifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.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.812463630922139]