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.001417/0.001417, allocations: 92.31 kB / 20.96 MB, free: 3.473 MB / 18.57 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.001581/0.001581, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 18.57 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.511/1.511, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 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 1.523e-06/1.523e-06, allocations: 0 / 272.4 MB, free: 1.781 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.747e-05/2.9e-05, allocations: 2.312 kB / 272.4 MB, free: 1.777 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.006569/0.006598, allocations: 4.06 MB / 276.4 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002616/0.009214, allocations: 1.222 MB / 277.6 MB, free: 12.47 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002475/0.009461, allocations: 15.94 kB / 277.7 MB, free: 12.45 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004695/0.009931, allocations: 138.8 kB / 277.8 MB, free: 12.32 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004552/0.01039, allocations: 222 kB / 278 MB, free: 12.1 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005183/0.0109, allocations: 223.4 kB / 278.2 MB, free: 11.88 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009558/0.01186, allocations: 0.7938 MB / 279 MB, free: 11.08 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004021/0.01226, allocations: 191 kB / 279.2 MB, free: 10.89 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006668/0.01293, allocations: 447 kB / 279.7 MB, free: 10.45 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003841/0.01331, allocations: 235.2 kB / 279.9 MB, free: 10.22 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001036/0.01342, allocations: 64 kB / 279.9 MB, free: 10.16 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001575/0.01357, allocations: 72 kB / 280 MB, free: 10.09 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001558/0.01373, allocations: 147.4 kB / 280.2 MB, free: 9.945 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003008/0.01403, allocations: 247.3 kB / 280.4 MB, free: 9.703 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009885/0.01502, allocations: 0.767 MB / 281.2 MB, free: 8.934 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.01502, allocations: 0 / 281.2 MB, free: 8.934 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.01502, allocations: 0 / 281.2 MB, free: 8.934 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.999e-06/0.01503, allocations: 0 / 281.2 MB, free: 8.934 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.002079/0.01711, allocations: 0.9576 MB / 282.1 MB, free: 7.941 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.01715, allocations: 8.031 kB / 282.1 MB, free: 7.934 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004077/0.01756, allocations: 144.4 kB / 282.3 MB, free: 7.793 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000666/0.01823, allocations: 363.6 kB / 282.6 MB, free: 7.41 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.054e-05/0.01828, allocations: 41.69 kB / 282.7 MB, free: 7.367 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/0.01839, allocations: 56.38 kB / 282.7 MB, free: 7.312 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001247/0.01964, allocations: 0.7296 MB / 283.5 MB, free: 6.527 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.153e-05/0.01966, allocations: 4.172 kB / 283.5 MB, free: 6.523 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.059e-05/0.01972, allocations: 31.94 kB / 283.5 MB, free: 6.492 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.607e-05/0.01973, allocations: 12 kB / 283.5 MB, free: 6.48 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009523/0.02069, allocations: 413 kB / 283.9 MB, free: 6.074 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003136/0.02382, allocations: 1.569 MB / 285.5 MB, free: 4.441 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008294/0.02465, allocations: 348 kB / 285.8 MB, free: 4.094 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001114/0.02577, allocations: 417.8 kB / 286.2 MB, free: 3.684 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.574e-05/0.0258, allocations: 8.328 kB / 286.2 MB, free: 3.676 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007509/0.02655, allocations: 478.3 kB / 286.7 MB, free: 3.129 MB / 266.7 MB Notification: Performance of pre-optimization done (n=41): time 1.643e-06/0.02655, allocations: 0 / 286.7 MB, free: 3.129 MB / 266.7 MB Notification: Performance of matching and sorting (n=41): time 0.003799/0.03035, allocations: 1.121 MB / 287.8 MB, free: 1.996 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001753/0.03053, allocations: 239.3 kB / 288.1 MB, free: 1.707 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005658/0.03109, allocations: 421.8 kB / 288.5 MB, free: 1.289 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001521/0.03125, allocations: 37.7 kB / 288.5 MB, free: 1.246 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003212/0.03157, allocations: 320.6 kB / 288.8 MB, free: 0.9258 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001455/0.03171, allocations: 142.8 kB / 289 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001746/0.03189, allocations: 94.14 kB / 289 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002173/0.0321, allocations: 354.8 kB / 289.4 MB, free: 336 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000365/0.03247, allocations: 148.9 kB / 289.5 MB, free: 188 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.124/0.1565, allocations: 498.4 kB / 290 MB, free: 28.07 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008107/0.1573, allocations: 440 kB / 290.5 MB, free: 27.94 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/0.1573, allocations: 5.406 kB / 290.5 MB, free: 27.94 MB / 266.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001742/0.1591, allocations: 0.771 MB / 291.2 MB, free: 27.86 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.1591, allocations: 7.156 kB / 291.2 MB, free: 27.86 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.1591, allocations: 3.406 kB / 291.2 MB, free: 27.86 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001322/0.1604, allocations: 339.2 kB / 291.6 MB, free: 27.85 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003296/0.1608, allocations: 87.47 kB / 291.7 MB, free: 27.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003659/0.1644, allocations: 2.644 MB / 294.3 MB, free: 26.11 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004627/0.1649, allocations: 77.42 kB / 294.4 MB, free: 26.1 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.432e-05/0.1649, allocations: 19.88 kB / 294.4 MB, free: 26.1 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.0002086/0.1651, allocations: 179.5 kB / 294.6 MB, free: 25.95 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.301e-05/0.1652, allocations: 63.44 kB / 294.6 MB, free: 25.92 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.823e-05/0.1653, allocations: 58.48 kB / 294.7 MB, free: 25.89 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.1653, allocations: 3.562 kB / 294.7 MB, free: 25.89 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.1653, allocations: 3.938 kB / 294.7 MB, free: 25.88 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.1653, allocations: 3.562 kB / 294.7 MB, free: 25.88 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002018/0.1673, allocations: 1.091 MB / 295.8 MB, free: 25.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.1673, allocations: 0 / 295.8 MB, free: 25.36 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002155/0.1675, allocations: 50.41 kB / 295.8 MB, free: 25.36 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001208/0.1688, allocations: 329.8 kB / 296.2 MB, free: 25.3 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.525e-05/0.1688, allocations: 11.59 kB / 296.2 MB, free: 25.29 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003403/0.1722, allocations: 2.639 MB / 298.8 MB, free: 23.42 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.1722, allocations: 0 / 298.8 MB, free: 23.42 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001851/0.174, allocations: 0.917 MB / 299.7 MB, free: 23.02 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.41e-05/0.1741, allocations: 57.52 kB / 299.8 MB, free: 22.98 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.906e-05/0.1742, allocations: 7.812 kB / 299.8 MB, free: 22.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003553/0.1745, allocations: 39.42 kB / 299.8 MB, free: 22.97 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.59e-05/0.1746, allocations: 39.95 kB / 299.9 MB, free: 22.96 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.466e-05/0.1747, allocations: 8.328 kB / 299.9 MB, free: 22.96 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000299/0.175, allocations: 289.2 kB / 300.2 MB, free: 22.82 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.175, allocations: 1.5 kB / 300.2 MB, free: 22.82 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006758/0.1756, allocations: 181.4 kB / 300.3 MB, free: 22.79 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.0001249/0.1758, allocations: 108.4 kB / 300.4 MB, free: 22.7 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001109/0.1769, allocations: 0.563 MB / 301 MB, free: 22.42 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1769, allocations: 2.062 kB / 301 MB, free: 22.42 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005865/0.1774, allocations: 367.5 kB / 301.4 MB, free: 22.22 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004905/0.1779, allocations: 72.72 kB / 301.4 MB, free: 22.2 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001434/0.1794, allocations: 0.9348 MB / 302.4 MB, free: 21.66 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002572/0.1796, allocations: 268.8 kB / 302.6 MB, free: 21.56 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001716/0.1798, allocations: 42.5 kB / 302.7 MB, free: 21.55 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.846e-05/0.1799, allocations: 31.44 kB / 302.7 MB, free: 21.54 MB / 266.7 MB Notification: Performance of SimCode: time 5.21e-07/0.1799, allocations: 4 kB / 302.7 MB, free: 21.54 MB / 266.7 MB Notification: Performance of Templates: time 0.0106/0.1905, allocations: 6.7 MB / 309.4 MB, free: 17.1 MB / 266.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/DifferentialAmplifier/DifferentialAmplifier.csv","/var/lib/jenkins/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: 4.5975272740470245]