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.00256/0.00256, allocations: 99.86 kB / 20.96 MB, free: 3.461 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.002964/0.002964, allocations: 149.1 kB / 24.26 MB, free: 168 kB / 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 1.506/1.506, allocations: 173.4 MB / 200.8 MB, free: 9.328 MB / 186.7 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 1.182e-06/1.182e-06, allocations: 0 / 267.4 MB, free: 6.707 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.052e-05/3.17e-05, allocations: 6.25 kB / 267.4 MB, free: 6.699 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.006752/0.006784, allocations: 4.357 MB / 271.7 MB, free: 2.316 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002335/0.009118, allocations: 1.18 MB / 272.9 MB, free: 1.133 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002563/0.009375, allocations: 15.94 kB / 272.9 MB, free: 1.117 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004966/0.009871, allocations: 146.6 kB / 273.1 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004834/0.01035, allocations: 214.1 kB / 273.3 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004941/0.01085, allocations: 203.5 kB / 273.5 MB, free: 0.5625 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009833/0.01183, allocations: 0.786 MB / 274.3 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003755/0.01221, allocations: 183 kB / 274.4 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000845/0.01305, allocations: 443 kB / 274.9 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004025/0.01346, allocations: 243.2 kB / 275.1 MB, free: 14.92 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001141/0.01357, allocations: 71.94 kB / 275.2 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001207/0.01369, allocations: 64 kB / 275.2 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001655/0.01386, allocations: 143.4 kB / 275.4 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003266/0.01418, allocations: 247.3 kB / 275.6 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009363/0.01512, allocations: 0.7593 MB / 276.4 MB, free: 13.64 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.01512, allocations: 0 / 276.4 MB, free: 13.64 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.01512, allocations: 0 / 276.4 MB, free: 13.64 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.038e-05/0.01513, allocations: 0 / 276.4 MB, free: 13.64 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.001966/0.0171, allocations: 1.099 MB / 277.5 MB, free: 12.5 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.01714, allocations: 8.031 kB / 277.5 MB, free: 12.49 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002071/0.01734, allocations: 120.5 kB / 277.6 MB, free: 12.37 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006058/0.01795, allocations: 362.4 kB / 278 MB, free: 11.99 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.42e-05/0.01799, allocations: 37.69 kB / 278 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.094e-05/0.01808, allocations: 60.38 kB / 278.1 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001146/0.01923, allocations: 0.7313 MB / 278.8 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/0.01925, allocations: 192 / 278.8 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.45e-05/0.01931, allocations: 23.94 kB / 278.8 MB, free: 11.08 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.378e-05/0.01933, allocations: 16 kB / 278.8 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008448/0.02018, allocations: 381 kB / 279.2 MB, free: 10.7 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003427/0.0236, allocations: 1.805 MB / 281 MB, free: 8.812 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008012/0.0244, allocations: 360.5 kB / 281.4 MB, free: 8.449 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001417/0.02582, allocations: 416 kB / 281.8 MB, free: 8.039 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.363e-05/0.02586, allocations: 12.31 kB / 281.8 MB, free: 8.027 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007699/0.02663, allocations: 0.4982 MB / 282.3 MB, free: 7.438 MB / 266.7 MB Notification: Performance of pre-optimization done (n=41): time 1.873e-06/0.02664, allocations: 0 / 282.3 MB, free: 7.438 MB / 266.7 MB Notification: Performance of matching and sorting (n=41): time 0.003221/0.02986, allocations: 0.9644 MB / 283.2 MB, free: 6.461 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001855/0.03004, allocations: 239.3 kB / 283.5 MB, free: 6.172 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006721/0.03071, allocations: 0.5103 MB / 284 MB, free: 5.641 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.94e-05/0.03076, allocations: 45.69 kB / 284 MB, free: 5.59 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00032/0.03108, allocations: 375.4 kB / 284.4 MB, free: 5.219 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001546/0.03124, allocations: 150.7 kB / 284.5 MB, free: 5.07 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001904/0.03143, allocations: 115.8 kB / 284.7 MB, free: 4.949 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003417/0.03177, allocations: 0.543 MB / 285.2 MB, free: 4.395 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003194/0.03209, allocations: 136.9 kB / 285.3 MB, free: 4.262 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006758/0.03277, allocations: 0.5488 MB / 285.9 MB, free: 3.57 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008382/0.0336, allocations: 488.6 kB / 286.4 MB, free: 3.027 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.974e-06/0.03361, allocations: 3.938 kB / 286.4 MB, free: 3.023 MB / 266.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001613/0.03522, allocations: 0.6884 MB / 287 MB, free: 2.324 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/0.03525, allocations: 11.98 kB / 287.1 MB, free: 2.312 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.03526, allocations: 7.938 kB / 287.1 MB, free: 2.305 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001126/0.03639, allocations: 270.2 kB / 287.3 MB, free: 2.039 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003404/0.03673, allocations: 83.91 kB / 287.4 MB, free: 1.957 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.143/0.1798, allocations: 3.157 MB / 290.6 MB, free: 30.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005638/0.1803, allocations: 74.7 kB / 290.6 MB, free: 30.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.852e-05/0.1804, allocations: 21.8 kB / 290.7 MB, free: 30.27 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 (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.0002716/0.1806, allocations: 228.7 kB / 290.9 MB, free: 30.11 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.43e-05/0.1807, allocations: 65.77 kB / 291 MB, free: 30.11 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001093/0.1808, allocations: 56.41 kB / 291 MB, free: 30.11 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.1808, allocations: 3.656 kB / 291 MB, free: 30.11 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1809, allocations: 0 / 291 MB, free: 30.11 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.1809, allocations: 3.156 kB / 291 MB, free: 30.11 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001966/0.1828, allocations: 1.145 MB / 292.2 MB, free: 29.79 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.1828, allocations: 5.547 kB / 292.2 MB, free: 29.79 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002096/0.183, allocations: 40.38 kB / 292.2 MB, free: 29.79 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009851/0.184, allocations: 278.6 kB / 292.5 MB, free: 29.78 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.712e-05/0.1841, allocations: 7.484 kB / 292.5 MB, free: 29.78 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003395/0.1874, allocations: 3.145 MB / 295.6 MB, free: 27.51 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.1874, allocations: 1.125 kB / 295.6 MB, free: 27.51 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001695/0.1891, allocations: 0.886 MB / 296.5 MB, free: 27.09 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.1892, allocations: 53.64 kB / 296.6 MB, free: 27.06 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.866e-05/0.1893, allocations: 12.64 kB / 296.6 MB, free: 27.05 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003336/0.1896, allocations: 38.16 kB / 296.6 MB, free: 27.05 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.1898, allocations: 33.34 kB / 296.6 MB, free: 27.05 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.53e-05/0.1898, allocations: 12.17 kB / 296.7 MB, free: 27.04 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003549/0.1901, allocations: 340.7 kB / 297 MB, free: 26.86 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1901, allocations: 1.062 kB / 297 MB, free: 26.86 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007412/0.1909, allocations: 183.3 kB / 297.2 MB, free: 26.83 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 (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.0001495/0.191, allocations: 112 kB / 297.3 MB, free: 26.73 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001183/0.1922, allocations: 0.6265 MB / 297.9 MB, free: 26.41 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.1922, allocations: 0.9375 kB / 297.9 MB, free: 26.41 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006231/0.1928, allocations: 452.7 kB / 298.4 MB, free: 26.13 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004779/0.1933, allocations: 71.78 kB / 298.4 MB, free: 26.1 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001636/0.195, allocations: 0.924 MB / 299.3 MB, free: 25.57 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003522/0.1953, allocations: 264.5 kB / 299.6 MB, free: 25.47 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001803/0.1955, allocations: 46.19 kB / 299.6 MB, free: 25.46 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.385e-05/0.1956, allocations: 31.48 kB / 299.7 MB, free: 25.46 MB / 266.7 MB Notification: Performance of SimCode: time 1.162e-06/0.1956, allocations: 4 kB / 299.7 MB, free: 25.45 MB / 266.7 MB Notification: Performance of Templates: time 0.01241/0.208, allocations: 6.668 MB / 306.4 MB, free: 22.82 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 -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","/var/lib/jenkins/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: 4.836859012953937]