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.001776/0.001776, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.00246/0.00246, allocations: 213.1 kB / 24.5 MB, free: 4.148 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.438/1.438, allocations: 230.5 MB / 258.2 MB, free: 7.988 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.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 0.002001/0.002001, allocations: 59.91 kB / 379.1 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2536/0.2556, allocations: 53.41 MB / 432.5 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.006112/0.2617, allocations: 4.546 MB / 437 MB, free: 2.164 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002625/0.2643, allocations: 1.265 MB / 438.3 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004705/0.2648, allocations: 11.94 kB / 438.3 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005703/0.2654, allocations: 150.6 kB / 438.5 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005255/0.2659, allocations: 210.2 kB / 438.7 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005089/0.2664, allocations: 215.5 kB / 438.9 MB, free: 324 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000888/0.2673, allocations: 0.763 MB / 439.6 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004001/0.2677, allocations: 195.1 kB / 439.8 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004716/0.2682, allocations: 294.9 kB / 440.1 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004842/0.2687, allocations: 334.5 kB / 440.4 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001039/0.2688, allocations: 64 kB / 440.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000138/0.2689, allocations: 68 kB / 440.6 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001595/0.2691, allocations: 151.4 kB / 440.7 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000371/0.2694, allocations: 354.2 kB / 441.1 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009585/0.2704, allocations: 0.7558 MB / 441.8 MB, free: 13.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.2704, allocations: 4 kB / 441.8 MB, free: 13.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2704, allocations: 0 / 441.8 MB, free: 13.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.333e-05/0.2704, allocations: 4 kB / 441.8 MB, free: 13.35 MB / 350.1 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.001775/0.2722, allocations: 0.9502 MB / 442.8 MB, free: 12.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.2722, allocations: 12.03 kB / 442.8 MB, free: 12.35 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003213/0.2725, allocations: 96.45 kB / 442.9 MB, free: 12.26 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005948/0.2731, allocations: 364.2 kB / 443.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.923e-05/0.2732, allocations: 45.69 kB / 443.3 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.021e-05/0.2733, allocations: 52.38 kB / 443.3 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00091/0.2742, allocations: 498.4 kB / 443.8 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/0.2742, allocations: 0 / 443.8 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.561e-05/0.2743, allocations: 24 kB / 443.8 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.548e-05/0.2743, allocations: 12 kB / 443.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007726/0.275, allocations: 401 kB / 444.2 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003281/0.2783, allocations: 1.7 MB / 445.9 MB, free: 9.082 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007916/0.2791, allocations: 377.4 kB / 446.3 MB, free: 8.711 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009375/0.2801, allocations: 401.2 kB / 446.7 MB, free: 8.316 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.366e-05/0.2801, allocations: 4 kB / 446.7 MB, free: 8.312 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005099/0.2806, allocations: 302 kB / 447 MB, free: 7.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 2.224e-06/0.2806, allocations: 3.938 kB / 447 MB, free: 7.977 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.002915/0.2835, allocations: 0.9465 MB / 448 MB, free: 7.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001828/0.2837, allocations: 247.2 kB / 448.2 MB, free: 6.723 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006252/0.2843, allocations: 441.8 kB / 448.6 MB, free: 6.285 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.325e-05/0.2844, allocations: 37.7 kB / 448.7 MB, free: 6.242 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002769/0.2846, allocations: 320.8 kB / 449 MB, free: 5.922 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001488/0.2848, allocations: 150.8 kB / 449.1 MB, free: 5.773 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001598/0.285, allocations: 94.3 kB / 449.2 MB, free: 5.676 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001959/0.2852, allocations: 362.7 kB / 449.6 MB, free: 5.312 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002883/0.2854, allocations: 141.2 kB / 449.7 MB, free: 5.172 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004119/0.2859, allocations: 297.8 kB / 450 MB, free: 4.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000659/0.2865, allocations: 419.4 kB / 450.4 MB, free: 4.363 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.2865, allocations: 0 / 450.4 MB, free: 4.363 MB / 350.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001436/0.288, allocations: 0.6642 MB / 451.1 MB, free: 3.691 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/0.288, allocations: 4 kB / 451.1 MB, free: 3.688 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.557e-05/0.288, allocations: 8.031 kB / 451.1 MB, free: 3.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008443/0.2888, allocations: 231 kB / 451.3 MB, free: 3.453 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003367/0.2892, allocations: 83.83 kB / 451.4 MB, free: 3.371 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004188/0.2934, allocations: 2.746 MB / 454.1 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005111/0.2939, allocations: 75.59 kB / 454.2 MB, free: 452 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.423e-05/0.2939, allocations: 20 kB / 454.2 MB, free: 432 kB / 350.1 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.0002972/0.2942, allocations: 193.2 kB / 454.4 MB, free: 232 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.057e-05/0.2943, allocations: 59.61 kB / 454.5 MB, free: 172 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001095/0.2944, allocations: 52.97 kB / 454.5 MB, free: 116 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.2944, allocations: 8 kB / 454.5 MB, free: 108 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.2944, allocations: 0 / 454.5 MB, free: 108 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.2944, allocations: 3.984 kB / 454.5 MB, free: 104 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002045/0.2965, allocations: 1.141 MB / 455.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.2965, allocations: 0 / 455.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000228/0.2967, allocations: 51.91 kB / 455.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007586/0.2974, allocations: 228.7 kB / 456 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.379e-05/0.2975, allocations: 8 kB / 456 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003979/0.3014, allocations: 2.781 MB / 458.7 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.3015, allocations: 7.938 kB / 458.8 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001637/0.3031, allocations: 0.8184 MB / 459.6 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/0.3032, allocations: 59.62 kB / 459.6 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.27e-05/0.3033, allocations: 19.98 kB / 459.6 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003579/0.3036, allocations: 35.97 kB / 459.7 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.526e-05/0.3037, allocations: 32.03 kB / 459.7 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3e-05/0.3038, allocations: 15.98 kB / 459.7 MB, free: 10.72 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003772/0.3041, allocations: 307.1 kB / 460 MB, free: 10.42 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3041, allocations: 0 / 460 MB, free: 10.42 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000675/0.3048, allocations: 187.7 kB / 460.2 MB, free: 10.23 MB / 366.1 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.0001732/0.305, allocations: 111.2 kB / 460.3 MB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001149/0.3061, allocations: 0.5498 MB / 460.9 MB, free: 9.551 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3061, allocations: 0 / 460.9 MB, free: 9.551 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006488/0.3068, allocations: 379.3 kB / 461.2 MB, free: 9.168 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005069/0.3073, allocations: 85.88 kB / 461.3 MB, free: 9.082 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002296/0.3096, allocations: 1.079 MB / 462.4 MB, free: 7.965 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005431/0.3101, allocations: 0.8747 MB / 463.3 MB, free: 7.062 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.3103, allocations: 35.44 kB / 463.3 MB, free: 7.027 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3103, allocations: 0 / 463.3 MB, free: 7.027 MB / 366.1 MB Notification: Performance of Templates: time 0.0126/0.3229, allocations: 8.71 MB / 472 MB, free: 14.35 MB / 382.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/DifferentialAmplifier/DifferentialAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 7.850544438930228]