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.001602/0.001602, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 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.00212/0.00212, allocations: 206.6 kB / 24.47 MB, free: 3.977 MB / 14.72 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 1.446/1.446, allocations: 230.6 MB / 258.2 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001577/0.001577, allocations: 43.92 kB / 379 MB, free: 2.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2378/0.2394, allocations: 53.36 MB / 432.4 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.005629/0.245, allocations: 4.056 MB / 436.4 MB, free: 2.625 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002397/0.2474, allocations: 1.215 MB / 437.6 MB, free: 1.406 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003066/0.2477, allocations: 19.88 kB / 437.7 MB, free: 1.387 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004978/0.2482, allocations: 141.7 kB / 437.8 MB, free: 1.25 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004891/0.2487, allocations: 214.2 kB / 438 MB, free: 1.039 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005566/0.2493, allocations: 215.6 kB / 438.2 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008354/0.2501, allocations: 0.7669 MB / 439 MB, free: 56 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003594/0.2505, allocations: 199.1 kB / 439.2 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003885/0.2509, allocations: 298.9 kB / 439.5 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000382/0.2512, allocations: 326.5 kB / 439.8 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.454e-05/0.2513, allocations: 64 kB / 439.8 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001459/0.2515, allocations: 68 kB / 439.9 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001504/0.2516, allocations: 155.3 kB / 440.1 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002901/0.2519, allocations: 282.7 kB / 440.3 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000866/0.2528, allocations: 0.7621 MB / 441.1 MB, free: 13.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.2528, allocations: 0 / 441.1 MB, free: 13.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2528, allocations: 4 kB / 441.1 MB, free: 13.92 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.127e-05/0.2528, allocations: 0 / 441.1 MB, free: 13.92 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.001877/0.2547, allocations: 0.9577 MB / 442.1 MB, free: 12.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.2547, allocations: 8.031 kB / 442.1 MB, free: 12.92 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003206/0.255, allocations: 100.4 kB / 442.2 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005817/0.2556, allocations: 360.3 kB / 442.5 MB, free: 12.44 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.882e-05/0.2557, allocations: 37.69 kB / 442.6 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.262e-05/0.2557, allocations: 56.31 kB / 442.6 MB, free: 12.35 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001156/0.2569, allocations: 0.7368 MB / 443.4 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.155e-05/0.2569, allocations: 3.938 kB / 443.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.439e-05/0.257, allocations: 24 kB / 443.4 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.674e-05/0.257, allocations: 16 kB / 443.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009147/0.2579, allocations: 413 kB / 443.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002957/0.2609, allocations: 1.564 MB / 445.4 MB, free: 9.477 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007695/0.2616, allocations: 340 kB / 445.7 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001043/0.2627, allocations: 417.2 kB / 446.1 MB, free: 8.727 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.036e-05/0.2627, allocations: 4.328 kB / 446.1 MB, free: 8.723 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000657/0.2634, allocations: 490 kB / 446.6 MB, free: 8.164 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 2.134e-06/0.2634, allocations: 0 / 446.6 MB, free: 8.164 MB / 350.1 MB Notification: Performance of matching and sorting (n=41): time 0.003656/0.267, allocations: 1.098 MB / 447.7 MB, free: 7.055 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001376/0.2672, allocations: 239.3 kB / 447.9 MB, free: 6.766 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000503/0.2677, allocations: 421.8 kB / 448.3 MB, free: 6.348 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.165e-05/0.2677, allocations: 33.7 kB / 448.4 MB, free: 6.309 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002465/0.268, allocations: 328.6 kB / 448.7 MB, free: 5.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001262/0.2681, allocations: 150.7 kB / 448.8 MB, free: 5.832 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001592/0.2682, allocations: 94.14 kB / 448.9 MB, free: 5.734 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001733/0.2684, allocations: 358.7 kB / 449.3 MB, free: 5.375 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003613/0.2688, allocations: 148.9 kB / 449.4 MB, free: 5.227 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006057/0.2694, allocations: 0.4929 MB / 449.9 MB, free: 4.617 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008073/0.2702, allocations: 435.5 kB / 450.3 MB, free: 4.145 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/0.2702, allocations: 4 kB / 450.3 MB, free: 4.141 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001818/0.272, allocations: 0.7441 MB / 451.1 MB, free: 3.387 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.272, allocations: 8 kB / 451.1 MB, free: 3.379 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.272, allocations: 8.109 kB / 451.1 MB, free: 3.371 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006538/0.2727, allocations: 180.7 kB / 451.3 MB, free: 3.191 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003513/0.273, allocations: 87.83 kB / 451.4 MB, free: 3.105 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004294/0.2773, allocations: 2.635 MB / 454 MB, free: 388 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000472/0.2778, allocations: 83.66 kB / 454.1 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.51e-05/0.2778, allocations: 20 kB / 454.1 MB, free: 284 kB / 350.1 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.0002468/0.2781, allocations: 185.6 kB / 454.3 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.406e-05/0.2782, allocations: 47.72 kB / 454.3 MB, free: 40 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001232/0.2783, allocations: 48.89 kB / 454.4 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.2783, allocations: 4 kB / 454.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.2783, allocations: 8 kB / 454.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/0.2783, allocations: 11.86 kB / 454.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002203/0.2805, allocations: 1.094 MB / 455.5 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.2805, allocations: 0 / 455.5 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002283/0.2807, allocations: 51.91 kB / 455.5 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005867/0.2813, allocations: 183.7 kB / 455.7 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.618e-05/0.2814, allocations: 11.94 kB / 455.7 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004103/0.2855, allocations: 2.617 MB / 458.3 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.2855, allocations: 0 / 458.3 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001999/0.2875, allocations: 0.8987 MB / 459.2 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.2876, allocations: 59.56 kB / 459.3 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.634e-05/0.2876, allocations: 8 kB / 459.3 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003697/0.288, allocations: 48.03 kB / 459.4 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.998e-05/0.2881, allocations: 31.92 kB / 459.4 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.683e-05/0.2881, allocations: 8 kB / 459.4 MB, free: 10.8 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003485/0.2885, allocations: 291.2 kB / 459.7 MB, free: 10.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2885, allocations: 0 / 459.7 MB, free: 10.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006664/0.2891, allocations: 179.7 kB / 459.9 MB, free: 10.34 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: 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.0001513/0.2893, allocations: 119.1 kB / 460 MB, free: 10.22 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001254/0.2905, allocations: 0.5576 MB / 460.5 MB, free: 9.648 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2905, allocations: 192 / 460.5 MB, free: 9.648 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006712/0.2912, allocations: 378 kB / 460.9 MB, free: 9.266 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004712/0.2917, allocations: 69.56 kB / 461 MB, free: 9.195 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001732/0.2934, allocations: 0.9253 MB / 461.9 MB, free: 8.242 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002666/0.2937, allocations: 267.5 kB / 462.2 MB, free: 7.949 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001737/0.2938, allocations: 56.28 kB / 462.2 MB, free: 7.891 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.145e-05/0.2939, allocations: 31.44 kB / 462.2 MB, free: 7.859 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2939, allocations: 0 / 462.2 MB, free: 7.859 MB / 366.1 MB Notification: Performance of Templates: time 0.01367/0.3076, allocations: 7.505 MB / 469.7 MB, free: 492 kB / 366.1 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 -s gbode -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/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_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.551930080007878]