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.001716/0.001716, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002445/0.002445, allocations: 210 kB / 24.48 MB, free: 3.938 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.488/1.488, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.001567/0.001567, allocations: 55.92 kB / 379 MB, free: 2.512 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2525/0.2541, allocations: 53.37 MB / 432.4 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.006174/0.2603, allocations: 4.047 MB / 436.4 MB, free: 2.637 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002763/0.263, allocations: 1.223 MB / 437.6 MB, free: 1.41 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003549/0.2634, allocations: 15.88 kB / 437.7 MB, free: 1.395 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00048/0.2639, allocations: 142.8 kB / 437.8 MB, free: 1.254 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00049/0.2644, allocations: 210.2 kB / 438 MB, free: 1.047 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005513/0.2649, allocations: 219.6 kB / 438.2 MB, free: 0.832 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008429/0.2657, allocations: 0.763 MB / 439 MB, free: 64 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003882/0.2661, allocations: 181 kB / 439.2 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004704/0.2666, allocations: 310.8 kB / 439.5 MB, free: 15.58 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000408/0.267, allocations: 274.6 kB / 439.7 MB, free: 15.31 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.857e-05/0.2671, allocations: 64 kB / 439.8 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001515/0.2673, allocations: 68 kB / 439.9 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001627/0.2674, allocations: 159.3 kB / 440 MB, free: 15.03 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003177/0.2677, allocations: 282.7 kB / 440.3 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009076/0.2687, allocations: 0.7621 MB / 441.1 MB, free: 13.99 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.2687, allocations: 0 / 441.1 MB, free: 13.99 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2687, allocations: 4 kB / 441.1 MB, free: 13.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.044e-05/0.2687, allocations: 0 / 441.1 MB, free: 13.98 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.001898/0.2706, allocations: 0.9577 MB / 442 MB, free: 12.99 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.2706, allocations: 8.031 kB / 442 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003037/0.2709, allocations: 96.45 kB / 442.1 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006135/0.2715, allocations: 360.3 kB / 442.5 MB, free: 12.51 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.109e-05/0.2716, allocations: 37.69 kB / 442.5 MB, free: 12.47 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.351e-05/0.2717, allocations: 56.38 kB / 442.6 MB, free: 12.42 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001173/0.2728, allocations: 0.7291 MB / 443.3 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.406e-05/0.2728, allocations: 3.938 kB / 443.3 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.117e-05/0.2729, allocations: 27.92 kB / 443.3 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.372e-05/0.2729, allocations: 16 kB / 443.3 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009064/0.2738, allocations: 413 kB / 443.7 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002952/0.2768, allocations: 1.564 MB / 445.3 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007558/0.2775, allocations: 344 kB / 445.6 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001069/0.2786, allocations: 413.2 kB / 446 MB, free: 8.797 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.535e-05/0.2786, allocations: 8.312 kB / 446.1 MB, free: 8.789 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006908/0.2793, allocations: 482 kB / 446.5 MB, free: 8.238 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 2.334e-06/0.2793, allocations: 0 / 446.5 MB, free: 8.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=41): time 0.00362/0.2829, allocations: 1.102 MB / 447.6 MB, free: 7.125 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001687/0.2831, allocations: 247.3 kB / 447.9 MB, free: 6.828 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005839/0.2837, allocations: 417.8 kB / 448.3 MB, free: 6.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.959e-05/0.2837, allocations: 41.7 kB / 448.3 MB, free: 6.363 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002865/0.284, allocations: 324.6 kB / 448.6 MB, free: 6.039 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001478/0.2842, allocations: 146.8 kB / 448.8 MB, free: 5.895 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001528/0.2843, allocations: 90.14 kB / 448.9 MB, free: 5.801 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002042/0.2845, allocations: 358.7 kB / 449.2 MB, free: 5.441 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003452/0.2849, allocations: 156.9 kB / 449.4 MB, free: 5.285 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006306/0.2855, allocations: 0.4929 MB / 449.9 MB, free: 4.676 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008092/0.2863, allocations: 431.5 kB / 450.3 MB, free: 4.207 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.2863, allocations: 4 kB / 450.3 MB, free: 4.203 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001854/0.2882, allocations: 0.7519 MB / 451 MB, free: 3.441 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.2882, allocations: 8.062 kB / 451 MB, free: 3.434 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.2882, allocations: 4 kB / 451.1 MB, free: 3.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006494/0.2889, allocations: 176.7 kB / 451.2 MB, free: 3.254 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003455/0.2892, allocations: 87.83 kB / 451.3 MB, free: 3.168 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004493/0.2937, allocations: 2.637 MB / 453.9 MB, free: 448 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005165/0.2942, allocations: 79.7 kB / 454 MB, free: 368 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.455e-05/0.2943, allocations: 20 kB / 454 MB, free: 348 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.0002903/0.2945, allocations: 181.7 kB / 454.2 MB, free: 156 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.713e-05/0.2946, allocations: 55.66 kB / 454.3 MB, free: 100 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.993e-05/0.2947, allocations: 48.81 kB / 454.3 MB, free: 52 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.2947, allocations: 8 kB / 454.3 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.2947, allocations: 4 kB / 454.3 MB, free: 40 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.2947, allocations: 7.922 kB / 454.3 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002267/0.297, allocations: 1.09 MB / 455.4 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.67e-06/0.297, allocations: 4 kB / 455.4 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002204/0.2972, allocations: 51.91 kB / 455.5 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005508/0.2978, allocations: 179.7 kB / 455.7 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.836e-05/0.2978, allocations: 11.98 kB / 455.7 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004168/0.302, allocations: 2.617 MB / 458.3 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.302, allocations: 0 / 458.3 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002057/0.304, allocations: 0.9026 MB / 459.2 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001375/0.3042, allocations: 55.56 kB / 459.2 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.697e-05/0.3042, allocations: 12 kB / 459.3 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003668/0.3046, allocations: 44.03 kB / 459.3 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.794e-05/0.3047, allocations: 31.94 kB / 459.3 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.621e-05/0.3047, allocations: 15.92 kB / 459.4 MB, free: 10.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003669/0.3051, allocations: 287.2 kB / 459.6 MB, free: 10.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3051, allocations: 0 / 459.6 MB, free: 10.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006884/0.3058, allocations: 179.7 kB / 459.8 MB, free: 10.41 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.0001864/0.306, allocations: 115.1 kB / 459.9 MB, free: 10.29 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00126/0.3072, allocations: 0.5615 MB / 460.5 MB, free: 9.715 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3072, allocations: 256 / 460.5 MB, free: 9.715 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006817/0.3079, allocations: 382 kB / 460.9 MB, free: 9.328 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004704/0.3084, allocations: 71.73 kB / 460.9 MB, free: 9.258 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001825/0.3102, allocations: 0.9543 MB / 461.9 MB, free: 8.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002889/0.3105, allocations: 259.6 kB / 462.1 MB, free: 7.984 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001063/0.3106, allocations: 43.42 kB / 462.2 MB, free: 7.941 MB / 366.1 MB Notification: Performance of SimCode: time 5e-07/0.3106, allocations: 0 / 462.2 MB, free: 7.941 MB / 366.1 MB Notification: Performance of Templates: time 0.01276/0.3234, allocations: 8.543 MB / 470.7 MB, free: 15.42 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.86209410475567]