Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.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.0009604/0.0009604, allocations: 85.91 kB / 22.22 MB, free: 2.281 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.001074/0.001074, allocations: 163.2 kB / 25.61 MB, free: 8.871 MB / 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 0.92/0.92, allocations: 177 MB / 205.9 MB, free: 4.441 MB / 186.7 MB " [Timeout remaining time 179] 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.OpAmps.DifferentialAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.v_out|rootMeanSquare.mean.x",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 274.2 MB, free: 4.219 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.401e-05/2.544e-05, allocations: 2.312 kB / 274.2 MB, free: 4.215 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.004221/0.004247, allocations: 4.39 MB / 278.6 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001727/0.005973, allocations: 1.225 MB / 279.8 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002256/0.006199, allocations: 15.88 kB / 279.8 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003206/0.00652, allocations: 142.7 kB / 279.9 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003186/0.006838, allocations: 218.2 kB / 280.2 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003837/0.007222, allocations: 207.4 kB / 280.4 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006367/0.007859, allocations: 0.7938 MB / 281.1 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000278/0.008137, allocations: 183 kB / 281.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003941/0.008531, allocations: 450.9 kB / 281.8 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002731/0.008804, allocations: 247.3 kB / 282 MB, free: 12.35 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.637e-05/0.00887, allocations: 68 kB / 282.1 MB, free: 12.29 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.084e-05/0.008961, allocations: 68 kB / 282.1 MB, free: 12.22 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.009064, allocations: 155.3 kB / 282.3 MB, free: 12.07 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001763/0.00924, allocations: 243.3 kB / 282.5 MB, free: 11.83 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004654/0.009706, allocations: 0.5058 MB / 283 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.00971, allocations: 0 / 283 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.009711, allocations: 0 / 283 MB, free: 11.32 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.009717, allocations: 4 kB / 283 MB, free: 11.32 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001101/0.01082, allocations: 1.064 MB / 284.1 MB, free: 10.21 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.01085, allocations: 8.031 kB / 284.1 MB, free: 10.2 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002539/0.0111, allocations: 132.5 kB / 284.2 MB, free: 10.07 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003849/0.01149, allocations: 354.4 kB / 284.6 MB, free: 9.699 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.193e-05/0.01152, allocations: 49.69 kB / 284.6 MB, free: 9.648 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.665e-05/0.01158, allocations: 56.38 kB / 284.7 MB, free: 9.594 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004263/0.012, allocations: 0.5286 MB / 285.2 MB, free: 9.012 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.01202, allocations: 8.188 kB / 285.2 MB, free: 9.004 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.191e-05/0.01205, allocations: 23.94 kB / 285.3 MB, free: 8.98 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/0.01207, allocations: 12 kB / 285.3 MB, free: 8.969 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001977/0.01226, allocations: 165 kB / 285.4 MB, free: 8.805 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001786/0.01405, allocations: 1.444 MB / 286.9 MB, free: 7.297 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004198/0.01447, allocations: 285.4 kB / 287.1 MB, free: 7.008 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004772/0.01495, allocations: 351.1 kB / 287.5 MB, free: 6.66 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.083e-05/0.01498, allocations: 8 kB / 287.5 MB, free: 6.652 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000316/0.01529, allocations: 455.9 kB / 287.9 MB, free: 6.109 MB / 266.7 MB Notification: Performance of pre-optimization done (n=44): time 2.375e-06/0.01529, allocations: 3.984 kB / 287.9 MB, free: 6.105 MB / 266.7 MB Notification: Performance of matching and sorting (n=44): time 0.001466/0.01676, allocations: 0.7226 MB / 288.7 MB, free: 5.371 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.461e-05/0.01685, allocations: 235.3 kB / 288.9 MB, free: 5.086 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005882/0.01743, allocations: 438.3 kB / 289.3 MB, free: 4.637 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.844e-05/0.01746, allocations: 33.7 kB / 289.4 MB, free: 4.598 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001709/0.01763, allocations: 375.4 kB / 289.7 MB, free: 4.227 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.038e-05/0.01771, allocations: 154.7 kB / 289.9 MB, free: 4.074 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.01782, allocations: 111.9 kB / 290 MB, free: 3.957 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.01797, allocations: 0.5273 MB / 290.5 MB, free: 3.418 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.243e-05/0.01804, allocations: 57.27 kB / 290.6 MB, free: 3.359 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002145/0.01826, allocations: 467.9 kB / 291 MB, free: 2.773 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002406/0.0185, allocations: 307 kB / 291.3 MB, free: 2.414 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.0185, allocations: 0 / 291.3 MB, free: 2.414 MB / 266.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0005825/0.01908, allocations: 0.4964 MB / 291.8 MB, free: 1.902 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.0191, allocations: 4 kB / 291.8 MB, free: 1.898 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.01911, allocations: 4 kB / 291.8 MB, free: 1.895 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005729/0.01968, allocations: 250 kB / 292.1 MB, free: 1.648 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001852/0.01987, allocations: 87.84 kB / 292.2 MB, free: 1.562 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002025/0.02189, allocations: 2.777 MB / 294.9 MB, free: 14.67 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002592/0.02215, allocations: 75.59 kB / 295 MB, free: 14.6 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.124e-05/0.02217, allocations: 16 kB / 295 MB, free: 14.58 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,rootMeanSquare.mean.y_last,$PRE.rootMeanSquare.mean.y_last,opAmp.satPos,opAmp.satNeg) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * 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,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0001669/0.02234, allocations: 203.7 kB / 295.2 MB, free: 14.38 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.896e-05/0.0224, allocations: 63.72 kB / 295.3 MB, free: 14.31 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.676e-05/0.02245, allocations: 56.8 kB / 295.3 MB, free: 14.25 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.02246, allocations: 11.94 kB / 295.4 MB, free: 14.24 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.02246, allocations: 4 kB / 295.4 MB, free: 14.24 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.02247, allocations: 0 / 295.4 MB, free: 14.24 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001155/0.02362, allocations: 0.8276 MB / 296.2 MB, free: 13.38 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.02362, allocations: 0 / 296.2 MB, free: 13.38 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001164/0.02374, allocations: 47.95 kB / 296.2 MB, free: 13.33 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005148/0.02425, allocations: 261.8 kB / 296.5 MB, free: 13.07 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.535e-05/0.02427, allocations: 11.98 kB / 296.5 MB, free: 13.06 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001726/0.026, allocations: 2.78 MB / 299.3 MB, free: 10.17 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.026, allocations: 7.938 kB / 299.3 MB, free: 10.16 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006056/0.0266, allocations: 0.6106 MB / 299.9 MB, free: 9.523 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.172e-05/0.02666, allocations: 55.58 kB / 300 MB, free: 9.469 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.833e-05/0.02669, allocations: 15.98 kB / 300 MB, free: 9.453 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001608/0.02685, allocations: 31.98 kB / 300 MB, free: 9.422 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.558e-05/0.02691, allocations: 39.95 kB / 300 MB, free: 9.383 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.02692, allocations: 12 kB / 300.1 MB, free: 9.371 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001441/0.02707, allocations: 275 kB / 300.3 MB, free: 9.105 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02707, allocations: 0 / 300.3 MB, free: 9.105 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004344/0.0275, allocations: 187.6 kB / 300.5 MB, free: 8.922 MB / 282.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: 4 ($whenCondition1,rootMeanSquare.mean.y_last,opAmp.satNeg,opAmp.satPos) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 25 * 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,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001171/0.02762, allocations: 115.2 kB / 300.6 MB, free: 8.801 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005133/0.02813, allocations: 499.3 kB / 301.1 MB, free: 8.297 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.02813, allocations: 3.938 kB / 301.1 MB, free: 8.293 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003036/0.02844, allocations: 397.2 kB / 301.5 MB, free: 7.883 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000333/0.02877, allocations: 77.8 kB / 301.6 MB, free: 7.805 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001386/0.03016, allocations: 0.9803 MB / 302.6 MB, free: 6.785 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.123e-05/0.03025, allocations: 130.3 kB / 302.7 MB, free: 6.641 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001207/0.03037, allocations: 52.38 kB / 302.7 MB, free: 6.59 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001998/0.03057, allocations: 174.1 kB / 302.9 MB, free: 6.418 MB / 282.7 MB Notification: Performance of SimCode: time 9.52e-07/0.03057, allocations: 0 / 302.9 MB, free: 6.418 MB / 282.7 MB Notification: Performance of Templates: time 0.01038/0.04095, allocations: 7.519 MB / 310.4 MB, free: 15.03 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.016597636975348]