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.001395/0.001395, 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 trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00165/0.00165, allocations: 211.4 kB / 24.48 MB, free: 3.934 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.43/1.43, allocations: 230.5 MB / 258.1 MB, free: 7.789 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.001837/0.001837, allocations: 63.83 kB / 379 MB, free: 2.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2419/0.2437, allocations: 53.41 MB / 432.4 MB, free: 6.516 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.006715/0.2504, allocations: 4.064 MB / 436.5 MB, free: 2.438 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002699/0.2531, allocations: 1.199 MB / 437.7 MB, free: 1.234 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005598/0.2537, allocations: 11.94 kB / 437.7 MB, free: 1.223 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006004/0.2543, allocations: 150.4 kB / 437.8 MB, free: 1.078 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000751/0.255, allocations: 210.2 kB / 438.1 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006459/0.2557, allocations: 203.6 kB / 438.3 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00113/0.2568, allocations: 0.7669 MB / 439 MB, free: 15.9 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004212/0.2572, allocations: 179.1 kB / 439.2 MB, free: 15.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005675/0.2578, allocations: 298.9 kB / 439.5 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006368/0.2584, allocations: 298.4 kB / 439.8 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001771/0.2586, allocations: 64 kB / 439.8 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002286/0.2588, allocations: 68 kB / 439.9 MB, free: 15.01 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000168/0.259, allocations: 147.5 kB / 440.1 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000484/0.2595, allocations: 290.6 kB / 440.3 MB, free: 14.58 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00101/0.2605, allocations: 0.7692 MB / 441.1 MB, free: 13.81 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.2605, allocations: 0 / 441.1 MB, free: 13.81 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2605, allocations: 0 / 441.1 MB, free: 13.81 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.339e-05/0.2605, allocations: 0 / 441.1 MB, free: 13.81 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.002198/0.2627, allocations: 0.9502 MB / 442.1 MB, free: 12.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.2628, allocations: 15.98 kB / 442.1 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003568/0.2631, allocations: 96.44 kB / 442.2 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000733/0.2639, allocations: 372.2 kB / 442.5 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.588e-05/0.2639, allocations: 37.69 kB / 442.6 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.202e-05/0.264, allocations: 60.38 kB / 442.6 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001094/0.2651, allocations: 0.6758 MB / 443.3 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/0.2651, allocations: 0 / 443.3 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.584e-05/0.2652, allocations: 28 kB / 443.3 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.847e-05/0.2652, allocations: 15.98 kB / 443.3 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007979/0.266, allocations: 389.1 kB / 443.7 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00328/0.2693, allocations: 1.502 MB / 445.2 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007739/0.27, allocations: 358 kB / 445.6 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009845/0.271, allocations: 405.1 kB / 446 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.649e-05/0.2711, allocations: 7.984 kB / 446 MB, free: 8.742 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006533/0.2717, allocations: 0.4956 MB / 446.5 MB, free: 8.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 2.254e-06/0.2717, allocations: 4 kB / 446.5 MB, free: 8.156 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.002911/0.2746, allocations: 0.9425 MB / 447.4 MB, free: 7.203 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001526/0.2748, allocations: 243.3 kB / 447.7 MB, free: 6.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005478/0.2753, allocations: 413.8 kB / 448.1 MB, free: 6.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.466e-05/0.2754, allocations: 41.64 kB / 448.1 MB, free: 6.453 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002854/0.2757, allocations: 332.6 kB / 448.4 MB, free: 6.121 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001471/0.2758, allocations: 150.7 kB / 448.6 MB, free: 5.973 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001611/0.276, allocations: 94.3 kB / 448.7 MB, free: 5.875 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001886/0.2762, allocations: 358.7 kB / 449 MB, free: 5.516 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003005/0.2765, allocations: 141.2 kB / 449.2 MB, free: 5.375 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005303/0.277, allocations: 489.7 kB / 449.6 MB, free: 4.793 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006781/0.2777, allocations: 407.4 kB / 450 MB, free: 4.348 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.2777, allocations: 0 / 450 MB, free: 4.348 MB / 350.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001452/0.2791, allocations: 0.6604 MB / 450.7 MB, free: 3.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.2791, allocations: 11.97 kB / 450.7 MB, free: 3.668 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/0.2792, allocations: 7.984 kB / 450.7 MB, free: 3.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008521/0.28, allocations: 220.6 kB / 450.9 MB, free: 3.441 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003305/0.2803, allocations: 83.83 kB / 451 MB, free: 3.359 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004168/0.2845, allocations: 2.684 MB / 453.7 MB, free: 0.582 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004696/0.285, allocations: 75.59 kB / 453.8 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.577e-05/0.285, allocations: 20 kB / 453.8 MB, free: 500 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.0002822/0.2853, allocations: 181.4 kB / 454 MB, free: 312 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.606e-05/0.2854, allocations: 51.72 kB / 454 MB, free: 260 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001146/0.2855, allocations: 56.8 kB / 454.1 MB, free: 200 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.2855, allocations: 7.938 kB / 454.1 MB, free: 192 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.2855, allocations: 4 kB / 454.1 MB, free: 188 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.2855, allocations: 7.969 kB / 454.1 MB, free: 180 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001946/0.2875, allocations: 1.016 MB / 455.1 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/0.2875, allocations: 4 kB / 455.1 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002107/0.2877, allocations: 43.91 kB / 455.2 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007557/0.2884, allocations: 232.7 kB / 455.4 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.959e-05/0.2885, allocations: 12 kB / 455.4 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003817/0.2923, allocations: 2.714 MB / 458.1 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2923, allocations: 0 / 458.1 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001528/0.2938, allocations: 0.8188 MB / 458.9 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001294/0.2939, allocations: 55.69 kB / 459 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.843e-05/0.294, allocations: 8 kB / 459 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003464/0.2944, allocations: 43.91 kB / 459 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.189e-05/0.2944, allocations: 39.86 kB / 459.1 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.52e-05/0.2945, allocations: 12 kB / 459.1 MB, free: 11.01 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003407/0.2948, allocations: 287.2 kB / 459.4 MB, free: 10.73 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2948, allocations: 4 kB / 459.4 MB, free: 10.73 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006751/0.2955, allocations: 187.7 kB / 459.5 MB, free: 10.54 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.0001758/0.2957, allocations: 115.2 kB / 459.7 MB, free: 10.42 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001127/0.2968, allocations: 0.542 MB / 460.2 MB, free: 9.863 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.2968, allocations: 0 / 460.2 MB, free: 9.863 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006303/0.2974, allocations: 386.5 kB / 460.6 MB, free: 9.473 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005065/0.2979, allocations: 85.44 kB / 460.7 MB, free: 9.391 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002357/0.3003, allocations: 1.083 MB / 461.7 MB, free: 8.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002913/0.3006, allocations: 271.7 kB / 462 MB, free: 7.977 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/0.3007, allocations: 31.44 kB / 462 MB, free: 7.945 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3007, allocations: 4 kB / 462 MB, free: 7.941 MB / 366.1 MB Notification: Performance of Templates: time 0.01287/0.3136, allocations: 8.712 MB / 470.8 MB, free: 15.25 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.70964087639004]