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.001584/0.001584, allocations: 80.67 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001379/0.001379, allocations: 154.9 kB / 23.94 MB, free: 4.176 MB / 14.72 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.446/1.446, allocations: 173.3 MB / 200.4 MB, free: 12.88 MB / 190.1 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.433e-06/1.433e-06, allocations: 0 / 319 MB, free: 3.539 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.602e-05/2.745e-05, allocations: 2.281 kB / 319 MB, free: 3.535 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.005335/0.005363, allocations: 4.015 MB / 323 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002123/0.007486, allocations: 1.16 MB / 324.1 MB, free: 24 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002955/0.007782, allocations: 14.56 kB / 324.2 MB, free: 20 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004898/0.008271, allocations: 139 kB / 324.3 MB, free: 15.94 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005/0.008771, allocations: 213.9 kB / 324.5 MB, free: 15.79 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006205/0.009392, allocations: 204.5 kB / 324.7 MB, free: 15.67 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001249/0.01064, allocations: 0.7853 MB / 325.5 MB, free: 15.25 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005072/0.01115, allocations: 184.5 kB / 325.7 MB, free: 15.16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009131/0.01206, allocations: 431 kB / 326.1 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004466/0.01251, allocations: 239.2 kB / 326.3 MB, free: 14.9 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001474/0.01265, allocations: 63.88 kB / 326.4 MB, free: 14.9 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001363/0.01279, allocations: 68.81 kB / 326.5 MB, free: 14.89 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001973/0.01299, allocations: 155 kB / 326.6 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003575/0.01335, allocations: 243 kB / 326.8 MB, free: 14.68 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001104/0.01445, allocations: 0.7553 MB / 327.6 MB, free: 14.38 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.01445, allocations: 5.375 kB / 327.6 MB, free: 14.38 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.01445, allocations: 3.938 kB / 327.6 MB, free: 14.37 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.378e-05/0.01447, allocations: 0.5625 kB / 327.6 MB, free: 14.37 MB / 302.1 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.002311/0.01678, allocations: 0.9297 MB / 328.5 MB, free: 13.76 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.12e-05/0.01684, allocations: 10.38 kB / 328.5 MB, free: 13.76 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001948/0.01704, allocations: 77.45 kB / 328.6 MB, free: 13.72 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007725/0.01781, allocations: 350.6 kB / 329 MB, free: 13.45 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.332e-05/0.01786, allocations: 47.59 kB / 329 MB, free: 13.43 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/0.01797, allocations: 51.72 kB / 329.1 MB, free: 13.41 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001645/0.01961, allocations: 0.7304 MB / 329.8 MB, free: 12.95 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.511e-05/0.01964, allocations: 1.375 kB / 329.8 MB, free: 12.95 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001504/0.01979, allocations: 26.03 kB / 329.8 MB, free: 12.93 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.891e-05/0.01982, allocations: 13.16 kB / 329.8 MB, free: 12.93 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009976/0.02082, allocations: 421.2 kB / 330.2 MB, free: 12.8 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003428/0.02424, allocations: 1.549 MB / 331.8 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008585/0.0251, allocations: 352.5 kB / 332.1 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001216/0.02632, allocations: 425.9 kB / 332.5 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.873e-05/0.02637, allocations: 5.547 kB / 332.6 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009111/0.02728, allocations: 482.5 kB / 333 MB, free: 10.98 MB / 302.1 MB Notification: Performance of pre-optimization done (n=41): time 2.274e-06/0.02728, allocations: 0 / 333 MB, free: 10.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=41): time 0.003837/0.03112, allocations: 1.098 MB / 334.1 MB, free: 10.47 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001643/0.03128, allocations: 240.8 kB / 334.4 MB, free: 10.19 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005461/0.03183, allocations: 414.4 kB / 334.8 MB, free: 9.922 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.59e-05/0.03187, allocations: 36.02 kB / 334.8 MB, free: 9.883 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002994/0.03217, allocations: 314.7 kB / 335.1 MB, free: 9.605 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001362/0.03231, allocations: 144.2 kB / 335.2 MB, free: 9.48 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001821/0.03249, allocations: 91 kB / 335.3 MB, free: 9.422 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002084/0.0327, allocations: 356.6 kB / 335.7 MB, free: 9.074 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003543/0.03306, allocations: 145.7 kB / 335.8 MB, free: 9.012 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006399/0.0337, allocations: 0.4933 MB / 336.3 MB, free: 8.504 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008284/0.03452, allocations: 433.1 kB / 336.7 MB, free: 8.215 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.03453, allocations: 5.312 kB / 336.7 MB, free: 8.211 MB / 302.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001819/0.03635, allocations: 0.7545 MB / 337.5 MB, free: 7.832 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.03637, allocations: 8.906 kB / 337.5 MB, free: 7.832 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.03638, allocations: 4.188 kB / 337.5 MB, free: 7.832 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006565/0.03704, allocations: 177.3 kB / 337.7 MB, free: 7.758 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000347/0.03738, allocations: 92.39 kB / 337.8 MB, free: 7.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004483/0.04187, allocations: 2.631 MB / 340.4 MB, free: 5.566 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005127/0.04238, allocations: 83.66 kB / 340.5 MB, free: 5.484 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.764e-05/0.04242, allocations: 23.94 kB / 340.5 MB, free: 5.461 MB / 302.1 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.0003262/0.04274, allocations: 189.6 kB / 340.7 MB, free: 5.266 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.252e-05/0.04282, allocations: 47.72 kB / 340.7 MB, free: 5.219 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001064/0.04292, allocations: 56.72 kB / 340.8 MB, free: 5.16 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.04293, allocations: 8 kB / 340.8 MB, free: 5.152 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.04294, allocations: 0 / 340.8 MB, free: 5.152 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.645e-06/0.04294, allocations: 3.984 kB / 340.8 MB, free: 5.148 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00235/0.04529, allocations: 1.077 MB / 341.9 MB, free: 4.023 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.0453, allocations: 4 kB / 341.9 MB, free: 4.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002287/0.04552, allocations: 47.91 kB / 341.9 MB, free: 3.973 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006823/0.04621, allocations: 184.7 kB / 342.1 MB, free: 3.789 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.863e-05/0.04624, allocations: 8 kB / 342.1 MB, free: 3.781 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004445/0.05068, allocations: 2.616 MB / 344.7 MB, free: 1.07 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.05068, allocations: 3.938 kB / 344.7 MB, free: 1.066 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002089/0.05277, allocations: 0.9033 MB / 345.7 MB, free: 148 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.173e-05/0.05286, allocations: 47.62 kB / 345.7 MB, free: 100 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.641e-05/0.05292, allocations: 11.98 kB / 345.7 MB, free: 88 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003893/0.05331, allocations: 44.03 kB / 345.8 MB, free: 44 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.655e-05/0.05341, allocations: 31.94 kB / 345.8 MB, free: 12 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.938e-05/0.05344, allocations: 12 kB / 345.8 MB, free: 0 / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003549/0.05379, allocations: 279.2 kB / 346.1 MB, free: 15.73 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.05379, allocations: 4 kB / 346.1 MB, free: 15.73 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006698/0.05446, allocations: 187.6 kB / 346.3 MB, free: 15.54 MB / 318.1 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.0001733/0.05464, allocations: 111.2 kB / 346.4 MB, free: 15.43 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001232/0.05587, allocations: 0.5568 MB / 346.9 MB, free: 14.86 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.05587, allocations: 0 / 346.9 MB, free: 14.86 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007303/0.0566, allocations: 378 kB / 347.3 MB, free: 14.47 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007636/0.05736, allocations: 77.78 kB / 347.4 MB, free: 14.4 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001708/0.05907, allocations: 0.8837 MB / 348.3 MB, free: 13.48 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002824/0.05935, allocations: 263.4 kB / 348.5 MB, free: 13.2 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001682/0.05952, allocations: 47.62 kB / 348.6 MB, free: 13.15 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.145e-05/0.05961, allocations: 36.48 kB / 348.6 MB, free: 13.11 MB / 318.1 MB Notification: Performance of SimCode: time 3.3e-07/0.05961, allocations: 0 / 348.6 MB, free: 13.11 MB / 318.1 MB Notification: Performance of Templates: time 0.01322/0.07284, allocations: 6.565 MB / 355.2 MB, free: 6.656 MB / 318.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe 2>&1) [Timeout 480] 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.635017551481724]