Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001804/0.001804, allocations: 108.6 kB / 21.18 MB, free: 0.7539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002362/0.002362, allocations: 193.2 kB / 24.47 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.577/1.577, allocations: 225.6 MB / 253.3 MB, free: 12.98 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001562/0.001562, allocations: 51.92 kB / 371.7 MB, free: 9.285 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2265/0.2281, allocations: 52.18 MB / 423.9 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.00612/0.2342, allocations: 4.497 MB / 428.4 MB, free: 10.12 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002616/0.2368, allocations: 1.223 MB / 429.6 MB, free: 8.898 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003992/0.2372, allocations: 11.94 kB / 429.6 MB, free: 8.887 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004993/0.2377, allocations: 150.7 kB / 429.8 MB, free: 8.738 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004794/0.2382, allocations: 202.3 kB / 430 MB, free: 8.539 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005254/0.2387, allocations: 203.6 kB / 430.2 MB, free: 8.34 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009044/0.2396, allocations: 0.7552 MB / 430.9 MB, free: 7.578 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003831/0.24, allocations: 195.1 kB / 431.1 MB, free: 7.387 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004138/0.2404, allocations: 294.9 kB / 431.4 MB, free: 7.098 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004654/0.2409, allocations: 326.5 kB / 431.7 MB, free: 6.777 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001139/0.241, allocations: 68 kB / 431.8 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.2411, allocations: 67.94 kB / 431.9 MB, free: 6.645 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001449/0.2412, allocations: 143.5 kB / 432 MB, free: 6.504 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003297/0.2416, allocations: 342.3 kB / 432.4 MB, free: 6.168 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008719/0.2424, allocations: 0.7442 MB / 433.1 MB, free: 5.426 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.2424, allocations: 3.984 kB / 433.1 MB, free: 5.422 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.123e-06/0.2424, allocations: 0 / 433.1 MB, free: 5.422 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.085e-05/0.2424, allocations: 3.938 kB / 433.1 MB, free: 5.418 MB / 334.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.001779/0.2442, allocations: 0.9422 MB / 434 MB, free: 4.438 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.2443, allocations: 8.031 kB / 434.1 MB, free: 4.43 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001239/0.2444, allocations: 80.47 kB / 434.1 MB, free: 4.352 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000679/0.2451, allocations: 352.3 kB / 434.5 MB, free: 3.98 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.221e-05/0.2451, allocations: 41.69 kB / 434.5 MB, free: 3.941 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.839e-05/0.2452, allocations: 56.38 kB / 434.6 MB, free: 3.887 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009995/0.2462, allocations: 0.5494 MB / 435.1 MB, free: 3.324 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.087e-05/0.2462, allocations: 7.953 kB / 435.1 MB, free: 3.316 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.308e-05/0.2463, allocations: 28 kB / 435.2 MB, free: 3.289 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.336e-05/0.2463, allocations: 12 kB / 435.2 MB, free: 3.277 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009047/0.2472, allocations: 417 kB / 435.6 MB, free: 2.867 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00306/0.2502, allocations: 1.755 MB / 437.3 MB, free: 1.027 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007586/0.251, allocations: 351.9 kB / 437.7 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00105/0.252, allocations: 421 kB / 438.1 MB, free: 268 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.307e-05/0.2521, allocations: 4.328 kB / 438.1 MB, free: 264 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005724/0.2526, allocations: 294.4 kB / 438.4 MB, free: 15.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 1.733e-06/0.2526, allocations: 0 / 438.4 MB, free: 15.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=41): time 0.003676/0.2563, allocations: 1.106 MB / 439.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001535/0.2565, allocations: 243.3 kB / 439.7 MB, free: 14.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005517/0.257, allocations: 429.9 kB / 440.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.143e-05/0.2571, allocations: 33.7 kB / 440.2 MB, free: 14.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000248/0.2573, allocations: 312.8 kB / 440.5 MB, free: 13.74 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001368/0.2575, allocations: 154.6 kB / 440.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001497/0.2576, allocations: 94.14 kB / 440.7 MB, free: 13.49 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001812/0.2578, allocations: 354.7 kB / 441.1 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003563/0.2581, allocations: 148.9 kB / 441.2 MB, free: 12.99 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005136/0.2587, allocations: 321 kB / 441.5 MB, free: 12.6 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008099/0.2595, allocations: 439.2 kB / 442 MB, free: 12.12 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.2595, allocations: 8 kB / 442 MB, free: 12.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001851/0.2613, allocations: 0.748 MB / 442.7 MB, free: 11.36 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.2613, allocations: 4 kB / 442.7 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.2614, allocations: 7.938 kB / 442.7 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000649/0.262, allocations: 184.7 kB / 442.9 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003509/0.2624, allocations: 87.89 kB / 443 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004456/0.2668, allocations: 2.701 MB / 445.7 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005148/0.2673, allocations: 87.64 kB / 445.8 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.499e-05/0.2674, allocations: 16 kB / 445.8 MB, free: 8.172 MB / 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.0002684/0.2676, allocations: 181.7 kB / 446 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.684e-05/0.2677, allocations: 59.67 kB / 446 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000111/0.2678, allocations: 52.86 kB / 446.1 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.2678, allocations: 7.938 kB / 446.1 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.2678, allocations: 4 kB / 446.1 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.2678, allocations: 3.938 kB / 446.1 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002392/0.2702, allocations: 1.218 MB / 447.3 MB, free: 6.586 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.2702, allocations: 0 / 447.3 MB, free: 6.586 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002336/0.2705, allocations: 47.97 kB / 447.4 MB, free: 6.539 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005801/0.271, allocations: 187.6 kB / 447.5 MB, free: 6.355 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.352e-05/0.2711, allocations: 11.94 kB / 447.6 MB, free: 6.344 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004322/0.2754, allocations: 2.659 MB / 450.2 MB, free: 3.57 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.2754, allocations: 8.031 kB / 450.2 MB, free: 3.562 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002071/0.2775, allocations: 0.9026 MB / 451.1 MB, free: 2.641 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/0.2776, allocations: 59.59 kB / 451.2 MB, free: 2.582 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.445e-05/0.2776, allocations: 8 kB / 451.2 MB, free: 2.574 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003794/0.278, allocations: 40.03 kB / 451.2 MB, free: 2.535 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.625e-05/0.2781, allocations: 43.86 kB / 451.3 MB, free: 2.492 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.37e-05/0.2781, allocations: 8 kB / 451.3 MB, free: 2.484 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003762/0.2785, allocations: 299.1 kB / 451.6 MB, free: 2.199 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2785, allocations: 0 / 451.6 MB, free: 2.199 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006568/0.2792, allocations: 183.7 kB / 451.8 MB, free: 2.02 MB / 350.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.0001446/0.2793, allocations: 107.2 kB / 451.9 MB, free: 1.906 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001259/0.2806, allocations: 0.5648 MB / 452.4 MB, free: 1.328 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.2806, allocations: 4 kB / 452.4 MB, free: 1.324 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007027/0.2813, allocations: 382.8 kB / 452.8 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004984/0.2818, allocations: 77.62 kB / 452.9 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001858/0.2836, allocations: 0.9585 MB / 453.8 MB, free: 15.87 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005382/0.2842, allocations: 0.8594 MB / 454.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001228/0.2843, allocations: 35.42 kB / 454.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of SimCode: time 8.41e-07/0.2843, allocations: 0 / 454.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of Templates: time 0.01274/0.297, allocations: 8.381 MB / 463.1 MB, free: 6.59 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/DifferentialAmplifier/DifferentialAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 8.022244380088523]