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.001227/0.001227, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001337/0.001337, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.423/1.423, allocations: 230.6 MB / 258.3 MB, free: 7.992 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.001511/0.001511, allocations: 51.92 kB / 379.1 MB, free: 2.574 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2576/0.2591, allocations: 53.36 MB / 432.4 MB, free: 6.895 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.006031/0.2651, allocations: 4.519 MB / 437 MB, free: 2.359 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002795/0.2679, allocations: 1.297 MB / 438.2 MB, free: 1.059 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004614/0.2684, allocations: 15.94 kB / 438.3 MB, free: 1.043 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004835/0.2689, allocations: 142.7 kB / 438.4 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005167/0.2694, allocations: 210.3 kB / 438.6 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000537/0.2699, allocations: 211.6 kB / 438.8 MB, free: 500 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009359/0.2709, allocations: 0.7631 MB / 439.6 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003711/0.2712, allocations: 195 kB / 439.8 MB, free: 15.53 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004572/0.2717, allocations: 306.8 kB / 440.1 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004709/0.2722, allocations: 330.5 kB / 440.4 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.526e-05/0.2722, allocations: 64 kB / 440.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001416/0.2724, allocations: 71.98 kB / 440.5 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00014/0.2725, allocations: 143.5 kB / 440.7 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003357/0.2729, allocations: 346.3 kB / 441 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009511/0.2738, allocations: 0.7636 MB / 441.8 MB, free: 13.53 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.2738, allocations: 0 / 441.8 MB, free: 13.53 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.2738, allocations: 0 / 441.8 MB, free: 13.53 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.451e-05/0.2738, allocations: 0 / 441.8 MB, free: 13.53 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.001947/0.2758, allocations: 0.9577 MB / 442.7 MB, free: 12.53 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.2758, allocations: 8.031 kB / 442.7 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003331/0.2762, allocations: 100.4 kB / 442.8 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006109/0.2768, allocations: 356.3 kB / 443.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.662e-05/0.2768, allocations: 45.69 kB / 443.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.29e-05/0.2769, allocations: 52.38 kB / 443.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001037/0.2779, allocations: 0.5572 MB / 443.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.081e-05/0.278, allocations: 0 / 443.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.828e-05/0.278, allocations: 20 kB / 443.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.484e-05/0.278, allocations: 12 kB / 443.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00089/0.2789, allocations: 421 kB / 444.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003281/0.2822, allocations: 1.77 MB / 446 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007868/0.283, allocations: 352 kB / 446.4 MB, free: 8.738 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001047/0.284, allocations: 433 kB / 446.8 MB, free: 8.312 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.452e-05/0.2841, allocations: 4.328 kB / 446.8 MB, free: 8.309 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005822/0.2847, allocations: 302.2 kB / 447.1 MB, free: 7.977 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 1.933e-06/0.2847, allocations: 0 / 447.1 MB, free: 7.977 MB / 350.1 MB Notification: Performance of matching and sorting (n=41): time 0.003571/0.2882, allocations: 1.11 MB / 448.2 MB, free: 6.855 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001564/0.2884, allocations: 235.3 kB / 448.4 MB, free: 6.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006035/0.289, allocations: 437.9 kB / 448.9 MB, free: 6.137 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.653e-05/0.289, allocations: 41.7 kB / 448.9 MB, free: 6.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002816/0.2893, allocations: 316.8 kB / 449.2 MB, free: 5.773 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001306/0.2894, allocations: 146.8 kB / 449.4 MB, free: 5.629 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000154/0.2896, allocations: 86.19 kB / 449.5 MB, free: 5.539 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001919/0.2898, allocations: 362.7 kB / 449.8 MB, free: 5.176 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003535/0.2901, allocations: 152.9 kB / 450 MB, free: 5.023 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005127/0.2907, allocations: 328.8 kB / 450.3 MB, free: 4.629 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008191/0.2915, allocations: 431.5 kB / 450.7 MB, free: 4.16 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.8e-06/0.2915, allocations: 4 kB / 450.7 MB, free: 4.156 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0018/0.2933, allocations: 0.7559 MB / 451.5 MB, free: 3.391 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.2933, allocations: 4 kB / 451.5 MB, free: 3.387 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.2933, allocations: 4 kB / 451.5 MB, free: 3.383 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006438/0.294, allocations: 184.7 kB / 451.6 MB, free: 3.199 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003378/0.2943, allocations: 87.83 kB / 451.7 MB, free: 3.113 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004366/0.2987, allocations: 2.704 MB / 454.4 MB, free: 312 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005362/0.2992, allocations: 83.7 kB / 454.5 MB, free: 228 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.389e-05/0.2992, allocations: 16 kB / 454.5 MB, free: 212 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.0002864/0.2995, allocations: 173.8 kB / 454.7 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.233e-05/0.2996, allocations: 55.86 kB / 454.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001044/0.2997, allocations: 56.95 kB / 454.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.2997, allocations: 7.75 kB / 454.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.2997, allocations: 4 kB / 454.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.2997, allocations: 0 / 454.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002304/0.302, allocations: 1.226 MB / 456.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/0.302, allocations: 0 / 456.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002248/0.3023, allocations: 55.91 kB / 456.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005492/0.3028, allocations: 179.7 kB / 456.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.792e-05/0.3028, allocations: 12 kB / 456.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004249/0.3071, allocations: 2.679 MB / 459 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.592e-06/0.3071, allocations: 0 / 459 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002051/0.3091, allocations: 0.8987 MB / 459.9 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001336/0.3093, allocations: 55.59 kB / 459.9 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.744e-05/0.3093, allocations: 11.98 kB / 459.9 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003598/0.3097, allocations: 47.97 kB / 460 MB, free: 10.56 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.959e-05/0.3098, allocations: 39.81 kB / 460 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.206e-05/0.3098, allocations: 11.94 kB / 460 MB, free: 10.51 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004053/0.3102, allocations: 307.1 kB / 460.3 MB, free: 10.21 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3102, allocations: 0 / 460.3 MB, free: 10.21 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006682/0.3109, allocations: 179.7 kB / 460.5 MB, free: 10.04 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.0001714/0.3111, allocations: 125.3 kB / 460.6 MB, free: 9.906 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001246/0.3123, allocations: 0.561 MB / 461.2 MB, free: 9.332 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/0.3123, allocations: 4 kB / 461.2 MB, free: 9.328 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000689/0.313, allocations: 374.8 kB / 461.6 MB, free: 8.949 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005184/0.3135, allocations: 77.88 kB / 461.6 MB, free: 8.871 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001909/0.3154, allocations: 0.962 MB / 462.6 MB, free: 7.875 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005367/0.316, allocations: 0.8633 MB / 463.5 MB, free: 6.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.3161, allocations: 39.42 kB / 463.5 MB, free: 6.941 MB / 366.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3161, allocations: 0 / 463.5 MB, free: 6.941 MB / 366.1 MB Notification: Performance of Templates: time 0.01273/0.3288, allocations: 8.53 MB / 472 MB, free: 14.45 MB / 382.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 -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: 7.522984697949141]