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.00169/0.00169, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 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.001594/0.001594, allocations: 210.5 kB / 23.73 MB, free: 4.387 MB / 14.72 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.523/1.523, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 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 0.001726/0.001726, allocations: 51.92 kB / 378.3 MB, free: 2.414 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.3093, allocations: 53.37 MB / 431.6 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.006696/0.316, allocations: 4.044 MB / 435.7 MB, free: 2.609 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002894/0.3189, allocations: 1.227 MB / 436.9 MB, free: 1.379 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004158/0.3193, allocations: 11.94 kB / 436.9 MB, free: 1.367 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005194/0.3198, allocations: 142.7 kB / 437 MB, free: 1.227 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005802/0.3204, allocations: 218.2 kB / 437.3 MB, free: 1.012 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000594/0.321, allocations: 211.6 kB / 437.5 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009904/0.322, allocations: 0.7669 MB / 438.2 MB, free: 32 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004364/0.3224, allocations: 194.7 kB / 438.4 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004925/0.3229, allocations: 298.9 kB / 438.7 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004687/0.3234, allocations: 330.5 kB / 439 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.853e-05/0.3235, allocations: 68 kB / 439.1 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001519/0.3237, allocations: 68 kB / 439.2 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001817/0.3238, allocations: 147.5 kB / 439.3 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000311/0.3242, allocations: 290.6 kB / 439.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009632/0.3251, allocations: 0.7649 MB / 440.4 MB, free: 13.9 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3251, allocations: 0 / 440.4 MB, free: 13.9 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3251, allocations: 0 / 440.4 MB, free: 13.9 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.151e-05/0.3251, allocations: 0 / 440.4 MB, free: 13.9 MB / 350.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.001989/0.3271, allocations: 0.9577 MB / 441.3 MB, free: 12.9 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.682e-05/0.3272, allocations: 8.031 kB / 441.3 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003712/0.3276, allocations: 96.45 kB / 441.4 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007528/0.3283, allocations: 364.2 kB / 441.8 MB, free: 12.42 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.631e-05/0.3284, allocations: 41.69 kB / 441.8 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/0.3285, allocations: 52.38 kB / 441.9 MB, free: 12.33 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001242/0.3297, allocations: 0.7252 MB / 442.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.364e-05/0.3297, allocations: 0 / 442.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.711e-05/0.3298, allocations: 27.98 kB / 442.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.693e-05/0.3298, allocations: 12 kB / 442.6 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008752/0.3307, allocations: 417 kB / 443 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002998/0.3337, allocations: 1.557 MB / 444.6 MB, free: 9.473 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008411/0.3345, allocations: 357.7 kB / 444.9 MB, free: 9.117 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001064/0.3356, allocations: 417.1 kB / 445.4 MB, free: 8.707 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.765e-05/0.3356, allocations: 4.328 kB / 445.4 MB, free: 8.703 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006888/0.3363, allocations: 478.1 kB / 445.8 MB, free: 8.156 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 2.324e-06/0.3363, allocations: 0 / 445.8 MB, free: 8.156 MB / 350.1 MB Notification: Performance of matching and sorting (n=41): time 0.003684/0.34, allocations: 1.106 MB / 446.9 MB, free: 7.039 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001615/0.3401, allocations: 247.3 kB / 447.2 MB, free: 6.742 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005439/0.3407, allocations: 417.8 kB / 447.6 MB, free: 6.328 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.355e-05/0.3407, allocations: 37.7 kB / 447.6 MB, free: 6.285 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002963/0.341, allocations: 328.6 kB / 447.9 MB, free: 5.957 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001311/0.3412, allocations: 138.8 kB / 448.1 MB, free: 5.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001508/0.3413, allocations: 90.14 kB / 448.2 MB, free: 5.727 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002247/0.3415, allocations: 362.7 kB / 448.5 MB, free: 5.363 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003526/0.3419, allocations: 152.9 kB / 448.7 MB, free: 5.211 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006127/0.3425, allocations: 0.4891 MB / 449.2 MB, free: 4.605 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008088/0.3433, allocations: 443.4 kB / 449.6 MB, free: 4.125 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.3433, allocations: 0 / 449.6 MB, free: 4.125 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001863/0.3452, allocations: 0.7481 MB / 450.3 MB, free: 3.367 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.3452, allocations: 7.938 kB / 450.3 MB, free: 3.359 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.3452, allocations: 4 kB / 450.3 MB, free: 3.355 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006656/0.3459, allocations: 196.7 kB / 450.5 MB, free: 3.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003362/0.3462, allocations: 83.83 kB / 450.6 MB, free: 3.078 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004494/0.3507, allocations: 2.627 MB / 453.2 MB, free: 364 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004965/0.3512, allocations: 79.59 kB / 453.3 MB, free: 284 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-05/0.3512, allocations: 20 kB / 453.3 MB, free: 264 kB / 350.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.0002881/0.3515, allocations: 181.8 kB / 453.5 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.438e-05/0.3516, allocations: 51.7 kB / 453.6 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001139/0.3517, allocations: 52.81 kB / 453.6 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/0.3517, allocations: 11.97 kB / 453.6 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3517, allocations: 0 / 453.6 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.944e-06/0.3517, allocations: 3.938 kB / 453.6 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002214/0.3539, allocations: 1.094 MB / 454.7 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.354, allocations: 0 / 454.7 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002228/0.3542, allocations: 47.97 kB / 454.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005415/0.3547, allocations: 183.7 kB / 455 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.644e-05/0.3547, allocations: 11.98 kB / 455 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004137/0.3589, allocations: 2.615 MB / 457.6 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.3589, allocations: 0 / 457.6 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002108/0.361, allocations: 0.9064 MB / 458.5 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001194/0.3611, allocations: 59.56 kB / 458.5 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.165e-05/0.3612, allocations: 4 kB / 458.6 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003569/0.3615, allocations: 48.03 kB / 458.6 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.56e-05/0.3616, allocations: 31.94 kB / 458.6 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.62e-05/0.3616, allocations: 15.94 kB / 458.6 MB, free: 10.78 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004037/0.3621, allocations: 287.1 kB / 458.9 MB, free: 10.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3621, allocations: 0 / 458.9 MB, free: 10.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006889/0.3627, allocations: 183.7 kB / 459.1 MB, free: 10.32 MB / 366.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.0001607/0.3629, allocations: 119.1 kB / 459.2 MB, free: 10.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00124/0.3641, allocations: 0.561 MB / 459.8 MB, free: 9.625 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.3641, allocations: 0 / 459.8 MB, free: 9.625 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006793/0.3648, allocations: 374.8 kB / 460.1 MB, free: 9.246 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004734/0.3653, allocations: 77.25 kB / 460.2 MB, free: 9.172 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00185/0.3671, allocations: 0.9291 MB / 461.2 MB, free: 8.215 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002937/0.3674, allocations: 263.6 kB / 461.4 MB, free: 7.926 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001663/0.3676, allocations: 44.16 kB / 461.5 MB, free: 7.879 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.06e-05/0.3677, allocations: 31.44 kB / 461.5 MB, free: 7.848 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3677, allocations: 0 / 461.5 MB, free: 7.848 MB / 366.1 MB Notification: Performance of Templates: time 0.01433/0.382, allocations: 7.492 MB / 469 MB, free: 492 kB / 366.1 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.92731103207916]