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.0009446/0.0009446, allocations: 85.17 kB / 21.5 MB, free: 2.992 MB / 18.57 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.001037/0.001037, allocations: 143.4 kB / 24.89 MB, free: 8.727 MB / 18.57 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 0.9891/0.9891, allocations: 173.4 MB / 201.5 MB, free: 8.758 MB / 186.7 MB " [Timeout remaining time 179] 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 2.074e-06/2.074e-06, allocations: 0 / 268.6 MB, free: 5.93 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.47e-05/2.677e-05, allocations: 6.25 kB / 268.6 MB, free: 5.922 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.005782/0.005808, allocations: 4.377 MB / 272.9 MB, free: 1.523 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00205/0.007858, allocations: 1.226 MB / 274.2 MB, free: 300 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002094/0.008067, allocations: 19.94 kB / 274.2 MB, free: 280 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003384/0.008406, allocations: 142.7 kB / 274.3 MB, free: 136 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003415/0.008747, allocations: 214.1 kB / 274.5 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003233/0.009071, allocations: 211.5 kB / 274.7 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005389/0.009609, allocations: 0.7821 MB / 275.5 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002554/0.009865, allocations: 193 kB / 275.7 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000357/0.01022, allocations: 435 kB / 276.1 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002556/0.01048, allocations: 243.3 kB / 276.4 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.105e-05/0.01054, allocations: 64 kB / 276.4 MB, free: 14 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.734e-05/0.0106, allocations: 64 kB / 276.5 MB, free: 13.94 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.257e-05/0.01068, allocations: 155.3 kB / 276.7 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001484/0.01083, allocations: 247.3 kB / 276.9 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004523/0.01128, allocations: 490.1 kB / 277.4 MB, free: 13.07 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.01128, allocations: 4 kB / 277.4 MB, free: 13.06 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.01128, allocations: 0 / 277.4 MB, free: 13.06 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.01129, allocations: 3.938 kB / 277.4 MB, free: 13.06 MB / 266.7 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.0008616/0.01215, allocations: 0.854 MB / 278.2 MB, free: 12.18 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.905e-05/0.01218, allocations: 8.031 kB / 278.2 MB, free: 12.17 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.878e-05/0.01227, allocations: 96.86 kB / 278.3 MB, free: 12.08 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000303/0.01257, allocations: 283.7 kB / 278.6 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.586e-05/0.0126, allocations: 41.69 kB / 278.7 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.95e-05/0.01265, allocations: 56.38 kB / 278.7 MB, free: 11.68 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004517/0.0131, allocations: 0.5896 MB / 279.3 MB, free: 11.03 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.01311, allocations: 8.188 kB / 279.3 MB, free: 11.02 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.931e-05/0.01314, allocations: 23.94 kB / 279.3 MB, free: 11 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.01316, allocations: 16 kB / 279.3 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001745/0.01333, allocations: 141.1 kB / 279.5 MB, free: 10.84 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001563/0.01489, allocations: 1.242 MB / 280.7 MB, free: 9.547 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002908/0.01518, allocations: 235 kB / 281 MB, free: 9.312 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004053/0.01559, allocations: 353 kB / 281.3 MB, free: 8.965 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/0.01561, allocations: 8.328 kB / 281.3 MB, free: 8.957 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002566/0.01587, allocations: 401.9 kB / 281.7 MB, free: 8.484 MB / 266.7 MB Notification: Performance of pre-optimization done (n=41): time 1.723e-06/0.01587, allocations: 0 / 281.7 MB, free: 8.484 MB / 266.7 MB Notification: Performance of matching and sorting (n=41): time 0.001421/0.01729, allocations: 0.7862 MB / 282.5 MB, free: 7.688 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.699e-05/0.01738, allocations: 235.3 kB / 282.7 MB, free: 7.402 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002363/0.01761, allocations: 363.2 kB / 283.1 MB, free: 7.031 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.577e-05/0.01764, allocations: 37.7 kB / 283.1 MB, free: 6.988 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.01776, allocations: 281.6 kB / 283.4 MB, free: 6.711 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.861e-05/0.01783, allocations: 142.8 kB / 283.5 MB, free: 6.57 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.27e-05/0.01792, allocations: 94.09 kB / 283.6 MB, free: 6.473 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.773e-05/0.01801, allocations: 358.7 kB / 284 MB, free: 6.113 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.119e-05/0.01807, allocations: 48.98 kB / 284 MB, free: 6.066 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000193/0.01826, allocations: 408.9 kB / 284.4 MB, free: 5.555 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002181/0.01848, allocations: 271.1 kB / 284.7 MB, free: 5.242 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.01848, allocations: 0 / 284.7 MB, free: 5.242 MB / 266.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0005513/0.01903, allocations: 457.3 kB / 285.1 MB, free: 4.785 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.01905, allocations: 8 kB / 285.1 MB, free: 4.777 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.01906, allocations: 4 kB / 285.1 MB, free: 4.773 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005267/0.01959, allocations: 255.8 kB / 285.4 MB, free: 4.523 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001616/0.01975, allocations: 79.84 kB / 285.5 MB, free: 4.445 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001829/0.02158, allocations: 2.131 MB / 287.6 MB, free: 2.234 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004016/0.02198, allocations: 83.62 kB / 287.7 MB, free: 2.152 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.93e-05/0.022, allocations: 16 kB / 287.7 MB, free: 2.137 MB / 266.7 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 (42): * Single equations (assignments): 41 * 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,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0001277/0.02212, allocations: 148.5 kB / 287.8 MB, free: 1.98 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.241e-05/0.02217, allocations: 47.89 kB / 287.9 MB, free: 1.934 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.594e-05/0.02222, allocations: 56.72 kB / 287.9 MB, free: 1.875 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.02223, allocations: 7.984 kB / 287.9 MB, free: 1.867 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.02223, allocations: 0 / 287.9 MB, free: 1.867 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.02223, allocations: 4 kB / 288 MB, free: 1.863 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007743/0.02301, allocations: 0.6791 MB / 288.6 MB, free: 1.156 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.02301, allocations: 4 kB / 288.6 MB, free: 1.152 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.601e-05/0.02311, allocations: 43.91 kB / 288.7 MB, free: 1.109 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004492/0.02356, allocations: 240.6 kB / 288.9 MB, free: 0.8711 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/0.02357, allocations: 15.94 kB / 288.9 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1155/0.139, allocations: 2.061 MB / 291 MB, free: 27.76 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.139, allocations: 0 / 291 MB, free: 27.76 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000729/0.1398, allocations: 0.5224 MB / 291.5 MB, free: 27.62 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.218e-05/0.1399, allocations: 46.39 kB / 291.6 MB, free: 27.62 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.941e-05/0.1399, allocations: 10.42 kB / 291.6 MB, free: 27.62 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001713/0.1401, allocations: 40.88 kB / 291.6 MB, free: 27.62 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.211e-05/0.1401, allocations: 32.97 kB / 291.6 MB, free: 27.62 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/0.1402, allocations: 8.922 kB / 291.6 MB, free: 27.62 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001538/0.1403, allocations: 149.3 kB / 291.8 MB, free: 27.6 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1403, allocations: 1.75 kB / 291.8 MB, free: 27.6 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004621/0.1408, allocations: 189 kB / 292 MB, free: 27.6 MB / 266.7 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 (21): * Single equations (assignments): 19 * 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,18)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001218/0.1409, allocations: 103.2 kB / 292.1 MB, free: 27.53 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000612/0.1415, allocations: 469.7 kB / 292.5 MB, free: 27.39 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.093e-05/0.1415, allocations: 5.688 kB / 292.5 MB, free: 27.39 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003097/0.1418, allocations: 342.5 kB / 292.9 MB, free: 27.24 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002654/0.1421, allocations: 69.77 kB / 292.9 MB, free: 27.24 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001215/0.1433, allocations: 0.8585 MB / 293.8 MB, free: 26.8 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.772e-05/0.1434, allocations: 128.1 kB / 293.9 MB, free: 26.73 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001213/0.1435, allocations: 42.12 kB / 294 MB, free: 26.72 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001774/0.1437, allocations: 137.1 kB / 294.1 MB, free: 26.68 MB / 266.7 MB Notification: Performance of SimCode: time 1.543e-06/0.1437, allocations: 0 / 294.1 MB, free: 26.68 MB / 266.7 MB Notification: Performance of Templates: time 0.01253/0.1562, allocations: 7.288 MB / 301.4 MB, free: 24.96 MB / 266.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/DifferentialAmplifier/DifferentialAmplifier.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9162936410866678]