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.001231/0.001231, allocations: 80.41 kB / 22.21 MB, free: 2.285 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.001278/0.001278, allocations: 165.1 kB / 25.61 MB, free: 8.535 MB / 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 0.9656/0.9656, allocations: 177.1 MB / 206 MB, free: 4.496 MB / 186.7 MB " [Timeout remaining time 179] 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.593e-06/1.593e-06, allocations: 0 / 274.2 MB, free: 4.359 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.646e-05/1.805e-05, allocations: 5.547 kB / 274.2 MB, free: 4.355 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.00432/0.004338, allocations: 4.357 MB / 278.6 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002052/0.00639, allocations: 1.257 MB / 279.9 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002355/0.006625, allocations: 11.94 kB / 279.9 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003695/0.006995, allocations: 142.7 kB / 280 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003493/0.007344, allocations: 218 kB / 280.2 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004608/0.007805, allocations: 227.4 kB / 280.4 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006487/0.008454, allocations: 0.7899 MB / 281.2 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002866/0.00874, allocations: 183.1 kB / 281.4 MB, free: 13.17 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004258/0.009166, allocations: 439 kB / 281.8 MB, free: 12.74 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002738/0.00944, allocations: 255.1 kB / 282.1 MB, free: 12.49 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.841e-05/0.009508, allocations: 68 kB / 282.2 MB, free: 12.42 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.345e-05/0.009602, allocations: 71.98 kB / 282.2 MB, free: 12.35 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.795e-05/0.0097, allocations: 151.4 kB / 282.4 MB, free: 12.2 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001727/0.009872, allocations: 239.4 kB / 282.6 MB, free: 11.97 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004372/0.01031, allocations: 0.4903 MB / 283.1 MB, free: 11.48 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.01031, allocations: 7.875 kB / 283.1 MB, free: 11.47 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.01031, allocations: 0 / 283.1 MB, free: 11.47 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.01032, allocations: 0 / 283.1 MB, free: 11.47 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.001093/0.01141, allocations: 1.052 MB / 284.2 MB, free: 10.38 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.01145, allocations: 16.03 kB / 284.2 MB, free: 10.36 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002136/0.01166, allocations: 132.5 kB / 284.3 MB, free: 10.23 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003409/0.012, allocations: 354.4 kB / 284.6 MB, free: 9.855 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.376e-05/0.01204, allocations: 45.69 kB / 284.7 MB, free: 9.809 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.567e-05/0.01209, allocations: 52.38 kB / 284.7 MB, free: 9.758 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004795/0.01257, allocations: 0.5835 MB / 285.3 MB, free: 9.113 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.01259, allocations: 4.188 kB / 285.3 MB, free: 9.109 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.367e-05/0.01262, allocations: 27.94 kB / 285.4 MB, free: 9.082 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/0.01263, allocations: 15.98 kB / 285.4 MB, free: 9.066 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002004/0.01283, allocations: 157 kB / 285.5 MB, free: 8.91 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001644/0.01448, allocations: 1.552 MB / 287.1 MB, free: 7.293 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003253/0.0148, allocations: 274.5 kB / 287.3 MB, free: 7.016 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000452/0.01526, allocations: 344 kB / 287.7 MB, free: 6.676 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.47e-05/0.01528, allocations: 8.328 kB / 287.7 MB, free: 6.668 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002988/0.01558, allocations: 426.3 kB / 288.1 MB, free: 6.16 MB / 266.7 MB Notification: Performance of pre-optimization done (n=41): time 1.573e-06/0.01558, allocations: 0 / 288.1 MB, free: 6.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=41): time 0.001304/0.01688, allocations: 0.7496 MB / 288.9 MB, free: 5.398 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.389e-05/0.01698, allocations: 239.3 kB / 289.1 MB, free: 5.109 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00026/0.01724, allocations: 434.3 kB / 289.5 MB, free: 4.668 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/0.01726, allocations: 37.69 kB / 289.6 MB, free: 4.625 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001664/0.01743, allocations: 375.4 kB / 289.9 MB, free: 4.254 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.686e-05/0.01751, allocations: 146.7 kB / 290.1 MB, free: 4.109 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.748e-05/0.0176, allocations: 99.8 kB / 290.2 MB, free: 4 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.01776, allocations: 0.5312 MB / 290.7 MB, free: 3.457 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.11e-05/0.01783, allocations: 52.95 kB / 290.7 MB, free: 3.406 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002468/0.01808, allocations: 469.9 kB / 291.2 MB, free: 2.805 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002559/0.01834, allocations: 312.7 kB / 291.5 MB, free: 2.434 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.01834, allocations: 4 kB / 291.5 MB, free: 2.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0006026/0.01894, allocations: 0.5162 MB / 292 MB, free: 1.902 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.01896, allocations: 4 kB / 292 MB, free: 1.898 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/0.01897, allocations: 8.281 kB / 292 MB, free: 1.891 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004981/0.01947, allocations: 233.9 kB / 292.3 MB, free: 1.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001691/0.01964, allocations: 83.91 kB / 292.4 MB, free: 1.578 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001885/0.02152, allocations: 2.687 MB / 295 MB, free: 14.78 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002012/0.02172, allocations: 75.59 kB / 295.1 MB, free: 14.71 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.981e-05/0.02174, allocations: 16.08 kB / 295.1 MB, free: 14.69 MB / 282.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.0001288/0.02187, allocations: 196.3 kB / 295.3 MB, free: 14.49 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.754e-05/0.02193, allocations: 63.75 kB / 295.4 MB, free: 14.43 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.058e-05/0.02198, allocations: 56.8 kB / 295.4 MB, free: 14.37 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.02198, allocations: 4 kB / 295.4 MB, free: 14.37 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.02199, allocations: 4 kB / 295.4 MB, free: 14.36 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.02199, allocations: 0 / 295.4 MB, free: 14.36 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008419/0.02283, allocations: 0.8309 MB / 296.3 MB, free: 13.49 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.02283, allocations: 11.98 kB / 296.3 MB, free: 13.48 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001127/0.02295, allocations: 39.92 kB / 296.3 MB, free: 13.44 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004126/0.02336, allocations: 231.5 kB / 296.6 MB, free: 13.21 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.02337, allocations: 7.984 kB / 296.6 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00165/0.02502, allocations: 2.641 MB / 299.2 MB, free: 10.45 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.02502, allocations: 4 kB / 299.2 MB, free: 10.45 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006149/0.02564, allocations: 0.6291 MB / 299.8 MB, free: 9.797 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.567e-05/0.02569, allocations: 51.58 kB / 299.9 MB, free: 9.746 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.452e-05/0.02572, allocations: 8 kB / 299.9 MB, free: 9.738 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001609/0.02588, allocations: 44 kB / 299.9 MB, free: 9.695 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.455e-05/0.02594, allocations: 35.91 kB / 300 MB, free: 9.66 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.307e-05/0.02595, allocations: 8 kB / 300 MB, free: 9.652 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001442/0.02609, allocations: 278.9 kB / 300.3 MB, free: 9.383 MB / 282.7 MB Notification: Performance of sort global known variables: time 2e-08/0.02609, allocations: 0 / 300.3 MB, free: 9.383 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003606/0.02645, allocations: 179.7 kB / 300.4 MB, free: 9.207 MB / 282.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 9.793e-05/0.02655, allocations: 111.2 kB / 300.5 MB, free: 9.086 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004749/0.02703, allocations: 488.4 kB / 301 MB, free: 8.59 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.02703, allocations: 0 / 301 MB, free: 8.59 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002861/0.02731, allocations: 381.6 kB / 301.4 MB, free: 8.195 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003046/0.02762, allocations: 76.19 kB / 301.5 MB, free: 8.121 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.02877, allocations: 0.8656 MB / 302.3 MB, free: 7.219 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.584e-05/0.02886, allocations: 130.2 kB / 302.5 MB, free: 7.07 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001051/0.02896, allocations: 40.27 kB / 302.5 MB, free: 7.031 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001901/0.02915, allocations: 174.1 kB / 302.7 MB, free: 6.859 MB / 282.7 MB Notification: Performance of SimCode: time 5.21e-07/0.02915, allocations: 0 / 302.7 MB, free: 6.859 MB / 282.7 MB Notification: Performance of Templates: time 0.009636/0.03879, allocations: 7.292 MB / 310 MB, free: 15.7 MB / 298.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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe 2>&1) [Timeout 240] 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","",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.99176234472543]