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.001205/0.001205, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002225/0.00343, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.00125/0.00125, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001893/0.003143, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.9831/0.9831, allocations: 173.4 MB / 185.8 MB, free: 9 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09178/1.075, allocations: 52.5 MB / 238.3 MB, free: 4.434 MB / 234.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 1.493e-06/1.493e-06, allocations: 3.938 kB / 239.6 MB, free: 3.141 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.773e-05/1.923e-05, allocations: 2.875 kB / 239.6 MB, free: 3.137 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.004249/0.004268, allocations: 4.392 MB / 244 MB, free: 14.73 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002299/0.006568, allocations: 1.245 MB / 245.2 MB, free: 13.48 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003314/0.006899, allocations: 11.94 kB / 245.2 MB, free: 13.46 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003397/0.007239, allocations: 138.7 kB / 245.4 MB, free: 13.33 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003657/0.007605, allocations: 222 kB / 245.6 MB, free: 13.11 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005206/0.008125, allocations: 199.6 kB / 245.8 MB, free: 12.91 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006939/0.008819, allocations: 0.7898 MB / 246.6 MB, free: 12.12 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002721/0.009091, allocations: 189 kB / 246.8 MB, free: 11.93 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008242/0.009915, allocations: 0.4883 MB / 247.3 MB, free: 11.44 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003207/0.01024, allocations: 255.2 kB / 247.5 MB, free: 11.19 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.823e-05/0.0103, allocations: 64 kB / 247.6 MB, free: 11.13 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.661e-05/0.01037, allocations: 64 kB / 247.6 MB, free: 11.07 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.05e-05/0.01045, allocations: 111.6 kB / 247.7 MB, free: 10.96 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001524/0.0106, allocations: 195.6 kB / 247.9 MB, free: 10.77 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004319/0.01104, allocations: 458.2 kB / 248.4 MB, free: 10.32 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.605e-05/0.01105, allocations: 0 / 248.4 MB, free: 10.32 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.01105, allocations: 0 / 248.4 MB, free: 10.32 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.8e-05/0.01107, allocations: 0 / 248.4 MB, free: 10.32 MB / 250.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.001063/0.01213, allocations: 0.9865 MB / 249.4 MB, free: 9.301 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.01217, allocations: 12.03 kB / 249.4 MB, free: 9.289 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.939e-05/0.01227, allocations: 92.86 kB / 249.5 MB, free: 9.199 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003417/0.01261, allocations: 279.7 kB / 249.7 MB, free: 8.898 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.781e-05/0.01264, allocations: 45.62 kB / 249.8 MB, free: 8.855 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.39e-05/0.01269, allocations: 60.36 kB / 249.8 MB, free: 8.797 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005016/0.01319, allocations: 0.5896 MB / 250.4 MB, free: 8.148 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.01321, allocations: 192 / 250.4 MB, free: 8.148 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.14e-05/0.01324, allocations: 31.94 kB / 250.5 MB, free: 8.117 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.058e-06/0.01325, allocations: 12 kB / 250.5 MB, free: 8.105 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001689/0.01341, allocations: 141 kB / 250.6 MB, free: 7.969 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001417/0.01483, allocations: 1.239 MB / 251.8 MB, free: 6.672 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000364/0.0152, allocations: 246.2 kB / 252.1 MB, free: 6.43 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005179/0.01571, allocations: 349.1 kB / 252.4 MB, free: 6.086 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.082e-05/0.01574, allocations: 12.33 kB / 252.4 MB, free: 6.074 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00028/0.01602, allocations: 398 kB / 252.8 MB, free: 5.605 MB / 250.7 MB Notification: Performance of pre-optimization done (n=41): time 1.793e-06/0.01603, allocations: 0 / 252.8 MB, free: 5.605 MB / 250.7 MB Notification: Performance of matching and sorting (n=41): time 0.001368/0.01739, allocations: 0.7899 MB / 253.6 MB, free: 4.805 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.58e-05/0.01743, allocations: 59.41 kB / 253.7 MB, free: 4.734 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002246/0.01766, allocations: 359.2 kB / 254 MB, free: 4.371 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.453e-05/0.01768, allocations: 33.7 kB / 254.1 MB, free: 4.332 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004046/0.01808, allocations: 277.6 kB / 254.3 MB, free: 4.055 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.921e-05/0.01815, allocations: 150.7 kB / 254.5 MB, free: 3.906 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.464e-05/0.01824, allocations: 94.09 kB / 254.6 MB, free: 3.809 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.996e-05/0.01833, allocations: 358.7 kB / 254.9 MB, free: 3.449 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.73e-05/0.01839, allocations: 48.98 kB / 255 MB, free: 3.402 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001928/0.01858, allocations: 408.9 kB / 255.4 MB, free: 2.891 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002129/0.01879, allocations: 271.1 kB / 255.6 MB, free: 2.578 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.0188, allocations: 3.938 kB / 255.6 MB, free: 2.574 MB / 250.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0005432/0.01934, allocations: 457 kB / 256.1 MB, free: 2.117 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.01936, allocations: 8 kB / 256.1 MB, free: 2.109 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.056e-06/0.01937, allocations: 4 kB / 256.1 MB, free: 2.105 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005123/0.01988, allocations: 252.8 kB / 256.3 MB, free: 1.855 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001597/0.02004, allocations: 79.84 kB / 256.4 MB, free: 1.777 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00184/0.02188, allocations: 2.147 MB / 258.6 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002106/0.02209, allocations: 79.59 kB / 258.6 MB, free: 15.47 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.679e-05/0.02211, allocations: 12 kB / 258.7 MB, free: 15.46 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.0001161/0.02222, allocations: 144.6 kB / 258.8 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.219e-05/0.02226, allocations: 51.89 kB / 258.8 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.981e-05/0.02231, allocations: 52.66 kB / 258.9 MB, free: 15.2 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.02232, allocations: 7.984 kB / 258.9 MB, free: 15.2 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.02232, allocations: 4 kB / 258.9 MB, free: 15.19 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.02233, allocations: 0 / 258.9 MB, free: 15.19 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008418/0.02317, allocations: 0.6845 MB / 259.6 MB, free: 14.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.02317, allocations: 0 / 259.6 MB, free: 14.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/0.02328, allocations: 43.91 kB / 259.6 MB, free: 14.44 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.434e-05/0.02332, allocations: 43.66 kB / 259.7 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004396/0.02376, allocations: 251.8 kB / 259.9 MB, free: 14.15 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.02378, allocations: 4 kB / 259.9 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001591/0.02537, allocations: 2.059 MB / 262 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.02537, allocations: 0 / 262 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005326/0.0259, allocations: 0.5281 MB / 262.5 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.849e-05/0.02594, allocations: 12 kB / 262.5 MB, free: 11.44 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001378/0.02608, allocations: 36.02 kB / 262.6 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.048e-05/0.02615, allocations: 31.92 kB / 262.6 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.02616, allocations: 8 kB / 262.6 MB, free: 11.37 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001039/0.02626, allocations: 152.7 kB / 262.8 MB, free: 11.22 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02626, allocations: 0 / 262.8 MB, free: 11.22 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004062/0.02667, allocations: 191.6 kB / 262.9 MB, free: 11.03 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.0001868/0.02686, allocations: 92.41 kB / 263 MB, free: 10.93 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008558/0.02771, allocations: 478.9 kB / 263.5 MB, free: 10.45 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.584e-05/0.02775, allocations: 11.94 kB / 263.5 MB, free: 10.44 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000484/0.02823, allocations: 348.9 kB / 263.9 MB, free: 10.08 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004294/0.02866, allocations: 116.6 kB / 264 MB, free: 9.969 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006084/0.03475, allocations: 0.886 MB / 264.9 MB, free: 9.051 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001285/0.03487, allocations: 137.7 kB / 265 MB, free: 8.895 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001756/0.03505, allocations: 43.53 kB / 265 MB, free: 8.848 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000237/0.03529, allocations: 143.2 kB / 265.2 MB, free: 8.707 MB / 266.7 MB Notification: Performance of SimCode: time 1.563e-06/0.03529, allocations: 0 / 265.2 MB, free: 8.707 MB / 266.7 MB Notification: Performance of Templates: time 0.01144/0.04673, allocations: 7.637 MB / 272.8 MB, free: 1.18 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 -ignoreHideResult -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.855224692262709]