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.001104/0.001104, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001555/0.00266, allocations: 445.8 kB / 10.44 MB, free: 256 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.0009701/0.0009701, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001342/0.002312, allocations: 475.6 kB / 11.8 MB, free: 2.367 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.8394/0.8394, allocations: 173.4 MB / 186 MB, free: 7.523 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1575/0.9969, allocations: 52.48 MB / 238.5 MB, free: 7.621 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.183e-06/1.183e-06, allocations: 0 / 239.8 MB, free: 6.305 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.154e-05/1.272e-05, allocations: 2.312 kB / 239.8 MB, free: 6.301 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.003571/0.003584, allocations: 4.391 MB / 244.2 MB, free: 1.906 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00134/0.004924, allocations: 1.244 MB / 245.4 MB, free: 0.668 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001743/0.005098, allocations: 11.94 kB / 245.4 MB, free: 0.6562 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000242/0.00534, allocations: 143.5 kB / 245.6 MB, free: 0.5156 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002293/0.00557, allocations: 228.2 kB / 245.8 MB, free: 300 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002723/0.005842, allocations: 194.3 kB / 246 MB, free: 108 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005031/0.006345, allocations: 0.7859 MB / 246.8 MB, free: 15.31 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002402/0.006585, allocations: 189 kB / 247 MB, free: 15.12 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003819/0.006967, allocations: 0.4961 MB / 247.5 MB, free: 14.63 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002501/0.007217, allocations: 251.8 kB / 247.7 MB, free: 14.38 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.69e-05/0.007284, allocations: 64.69 kB / 247.8 MB, free: 14.32 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.042e-05/0.007355, allocations: 64 kB / 247.8 MB, free: 14.26 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.701e-05/0.007432, allocations: 109.6 kB / 247.9 MB, free: 14.15 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001373/0.007569, allocations: 191.6 kB / 248.1 MB, free: 13.96 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003538/0.007923, allocations: 454.3 kB / 248.6 MB, free: 13.52 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.004e-05/0.007933, allocations: 0 / 248.6 MB, free: 13.52 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.007933, allocations: 0 / 248.6 MB, free: 13.52 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.299e-05/0.007946, allocations: 1.469 kB / 248.6 MB, free: 13.52 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.000985/0.008931, allocations: 0.9948 MB / 249.6 MB, free: 12.5 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.797e-05/0.008959, allocations: 9.031 kB / 249.6 MB, free: 12.49 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.193e-05/0.009051, allocations: 92.86 kB / 249.7 MB, free: 12.4 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002913/0.009342, allocations: 281.5 kB / 249.9 MB, free: 12.1 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.45e-05/0.009367, allocations: 42.38 kB / 250 MB, free: 12.06 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.446e-05/0.009421, allocations: 64.31 kB / 250 MB, free: 12 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004379/0.009859, allocations: 0.5826 MB / 250.6 MB, free: 11.36 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.009873, allocations: 0.6875 kB / 250.6 MB, free: 11.36 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.921e-05/0.009902, allocations: 28.75 kB / 250.6 MB, free: 11.33 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.009913, allocations: 12 kB / 250.7 MB, free: 11.32 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001582/0.01007, allocations: 142.8 kB / 250.8 MB, free: 11.18 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001318/0.01139, allocations: 1.246 MB / 252 MB, free: 9.879 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002973/0.01169, allocations: 249.4 kB / 252.3 MB, free: 9.629 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000392/0.01208, allocations: 336.3 kB / 252.6 MB, free: 9.301 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.715e-05/0.0121, allocations: 16.3 kB / 252.6 MB, free: 9.285 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002537/0.01236, allocations: 406 kB / 253 MB, free: 8.809 MB / 250.7 MB Notification: Performance of pre-optimization done (n=41): time 1.312e-06/0.01236, allocations: 0 / 253 MB, free: 8.809 MB / 250.7 MB Notification: Performance of matching and sorting (n=41): time 0.001311/0.01367, allocations: 0.7935 MB / 253.8 MB, free: 8.008 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.907e-05/0.0137, allocations: 55.41 kB / 253.9 MB, free: 7.941 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002003/0.0139, allocations: 363.2 kB / 254.2 MB, free: 7.574 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.01392, allocations: 33.7 kB / 254.3 MB, free: 7.535 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.01403, allocations: 281.6 kB / 254.5 MB, free: 7.254 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.924e-05/0.0141, allocations: 150.7 kB / 254.7 MB, free: 7.105 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.233e-05/0.01418, allocations: 98.09 kB / 254.8 MB, free: 7.004 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.654e-05/0.01427, allocations: 358.7 kB / 255.1 MB, free: 6.645 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.734e-05/0.01433, allocations: 48.98 kB / 255.2 MB, free: 6.598 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001799/0.01451, allocations: 404.9 kB / 255.6 MB, free: 6.086 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002142/0.01472, allocations: 272.5 kB / 255.8 MB, free: 5.773 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.01472, allocations: 4 kB / 255.8 MB, free: 5.77 MB / 250.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0004852/0.01521, allocations: 456.9 kB / 256.3 MB, free: 5.312 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.01522, allocations: 12.28 kB / 256.3 MB, free: 5.301 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.01523, allocations: 4 kB / 256.3 MB, free: 5.297 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004841/0.01571, allocations: 254.8 kB / 256.6 MB, free: 5.047 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001568/0.01587, allocations: 87.83 kB / 256.6 MB, free: 4.961 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001667/0.01754, allocations: 2.138 MB / 258.8 MB, free: 2.742 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001793/0.01772, allocations: 71.61 kB / 258.8 MB, free: 2.672 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.66e-05/0.01773, allocations: 16 kB / 258.9 MB, free: 2.656 MB / 250.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.000105/0.01784, allocations: 148.6 kB / 259 MB, free: 2.5 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.871e-05/0.01788, allocations: 43.89 kB / 259.1 MB, free: 2.457 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.672e-05/0.01792, allocations: 52.72 kB / 259.1 MB, free: 2.406 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.01793, allocations: 8 kB / 259.1 MB, free: 2.398 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.01793, allocations: 0 / 259.1 MB, free: 2.398 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.01793, allocations: 3.984 kB / 259.1 MB, free: 2.395 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006964/0.01863, allocations: 0.6884 MB / 259.8 MB, free: 1.68 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.01863, allocations: 0 / 259.8 MB, free: 1.68 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.647e-05/0.01872, allocations: 36.03 kB / 259.8 MB, free: 1.645 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.041e-05/0.01876, allocations: 51.56 kB / 259.9 MB, free: 1.594 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004191/0.01918, allocations: 251.9 kB / 260.1 MB, free: 1.348 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.01919, allocations: 16 kB / 260.2 MB, free: 1.332 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001479/0.02067, allocations: 2.05 MB / 262.2 MB, free: 15.2 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.02067, allocations: 0 / 262.2 MB, free: 15.2 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005023/0.02118, allocations: 0.5281 MB / 262.7 MB, free: 14.65 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.047e-05/0.02121, allocations: 8 kB / 262.7 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.02134, allocations: 40 kB / 262.8 MB, free: 14.61 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.244e-05/0.02139, allocations: 31.94 kB / 262.8 MB, free: 14.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/0.02141, allocations: 11.98 kB / 262.8 MB, free: 14.56 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001035/0.02151, allocations: 144.7 kB / 263 MB, free: 14.42 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02151, allocations: 0 / 263 MB, free: 14.42 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003399/0.02185, allocations: 195.6 kB / 263.2 MB, free: 14.23 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 9.893e-05/0.02195, allocations: 100.3 kB / 263.3 MB, free: 14.12 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005015/0.02245, allocations: 471.2 kB / 263.7 MB, free: 13.65 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-05/0.02246, allocations: 8 kB / 263.7 MB, free: 13.64 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003019/0.02277, allocations: 378.4 kB / 264.1 MB, free: 13.25 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003965/0.02316, allocations: 0.5892 MB / 264.7 MB, free: 12.55 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003435/0.0266, allocations: 0.8978 MB / 265.6 MB, free: 11.62 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.396e-05/0.02667, allocations: 129.7 kB / 265.7 MB, free: 11.48 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001019/0.02677, allocations: 48.17 kB / 265.7 MB, free: 11.43 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001645/0.02694, allocations: 139.3 kB / 265.9 MB, free: 11.29 MB / 266.7 MB Notification: Performance of SimCode: time 7.01e-07/0.02694, allocations: 0 / 265.9 MB, free: 11.29 MB / 266.7 MB Notification: Performance of Templates: time 0.009172/0.03611, allocations: 7.851 MB / 273.7 MB, free: 3.562 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.522589481435716]