Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001322/0.001322, allocations: 122.5 kB / 18.51 MB, free: 4.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001346/0.001346, allocations: 215.2 kB / 21.46 MB, free: 1.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.544/1.544, allocations: 230.2 MB / 254.5 MB, free: 15.26 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001787/0.001787, allocations: 63.89 kB / 373.9 MB, free: 9.832 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09622/0.09801, allocations: 53.32 MB / 427.2 MB, free: 4.414 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.2097/0.3077, allocations: 4.498 MB / 431.7 MB, free: 8.105 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002463/0.3102, allocations: 1.286 MB / 433 MB, free: 8.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003568/0.3106, allocations: 15.16 kB / 433 MB, free: 8.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000477/0.311, allocations: 143.1 kB / 433.1 MB, free: 8.078 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005119/0.3116, allocations: 209.7 kB / 433.3 MB, free: 7.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005306/0.3121, allocations: 217.8 kB / 433.6 MB, free: 7.969 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006746/0.3128, allocations: 0.7622 MB / 434.3 MB, free: 7.797 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003149/0.3131, allocations: 195.4 kB / 434.5 MB, free: 7.773 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003684/0.3134, allocations: 293.7 kB / 434.8 MB, free: 7.711 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003428/0.3138, allocations: 335.3 kB / 435.1 MB, free: 7.629 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.039e-05/0.3139, allocations: 64.97 kB / 435.2 MB, free: 7.629 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001347/0.314, allocations: 71.34 kB / 435.3 MB, free: 7.629 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.291e-05/0.3141, allocations: 150.3 kB / 435.4 MB, free: 7.602 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002454/0.3144, allocations: 343.1 kB / 435.7 MB, free: 7.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008238/0.3152, allocations: 0.7562 MB / 436.5 MB, free: 7.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3152, allocations: 0 / 436.5 MB, free: 7.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.3152, allocations: 5.281 kB / 436.5 MB, free: 7.336 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.231e-05/0.3152, allocations: 0 / 436.5 MB, free: 7.336 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.001643/0.3168, allocations: 0.9752 MB / 437.5 MB, free: 6.652 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.3169, allocations: 10.91 kB / 437.5 MB, free: 6.652 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003052/0.3172, allocations: 99.3 kB / 437.6 MB, free: 6.609 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005225/0.3177, allocations: 423.6 kB / 438 MB, free: 6.285 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.143e-05/0.3177, allocations: 44.91 kB / 438 MB, free: 6.266 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.259e-05/0.3178, allocations: 50.72 kB / 438.1 MB, free: 6.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001027/0.3189, allocations: 0.5576 MB / 438.6 MB, free: 6.004 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.256e-05/0.3189, allocations: 0.6094 kB / 438.6 MB, free: 6.004 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.367e-05/0.3189, allocations: 21.34 kB / 438.7 MB, free: 5.988 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.942e-05/0.3189, allocations: 13.91 kB / 438.7 MB, free: 5.988 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008943/0.3198, allocations: 422.4 kB / 439.1 MB, free: 5.848 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003076/0.3229, allocations: 1.829 MB / 440.9 MB, free: 4.781 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000814/0.3237, allocations: 0.4916 MB / 441.4 MB, free: 4.449 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001117/0.3249, allocations: 417.6 kB / 441.8 MB, free: 4.355 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.394e-05/0.3249, allocations: 9.219 kB / 441.8 MB, free: 4.352 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005943/0.3255, allocations: 299.6 kB / 442.1 MB, free: 4.168 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 2.335e-06/0.3255, allocations: 0 / 442.1 MB, free: 4.168 MB / 350.1 MB Notification: Performance of matching and sorting (n=41): time 0.004349/0.3298, allocations: 1.299 MB / 443.4 MB, free: 3.758 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.764e-05/0.3299, allocations: 240.5 kB / 443.7 MB, free: 3.477 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005714/0.3305, allocations: 435.9 kB / 444.1 MB, free: 3.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.692e-05/0.3305, allocations: 36.89 kB / 444.1 MB, free: 3.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001943/0.3307, allocations: 314 kB / 444.4 MB, free: 2.977 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.443e-05/0.3308, allocations: 153.2 kB / 444.6 MB, free: 2.859 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001447/0.331, allocations: 91.05 kB / 444.7 MB, free: 2.805 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.933e-05/0.331, allocations: 364.7 kB / 445 MB, free: 2.465 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003622/0.3314, allocations: 150.5 kB / 445.2 MB, free: 2.418 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004293/0.3318, allocations: 322.5 kB / 445.5 MB, free: 2.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007075/0.3325, allocations: 450 kB / 445.9 MB, free: 1.875 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.3326, allocations: 5.562 kB / 445.9 MB, free: 1.871 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001745/0.3343, allocations: 0.7747 MB / 446.7 MB, free: 1.586 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.3343, allocations: 7.375 kB / 446.7 MB, free: 1.586 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.3343, allocations: 7.344 kB / 446.7 MB, free: 1.582 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007195/0.3351, allocations: 215.9 kB / 446.9 MB, free: 1.531 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002961/0.3353, allocations: 76.56 kB / 447 MB, free: 1.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004745/0.3401, allocations: 3.138 MB / 450.1 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006283/0.3407, allocations: 84.05 kB / 450.2 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.852e-05/0.3408, allocations: 19.28 kB / 450.2 MB, free: 15.29 MB / 366.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 (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.0003149/0.3411, allocations: 181.7 kB / 450.4 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.801e-05/0.3412, allocations: 50.31 kB / 450.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001056/0.3413, allocations: 53.89 kB / 450.5 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.3413, allocations: 4.188 kB / 450.5 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.3413, allocations: 5.25 kB / 450.5 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.3413, allocations: 2.297 kB / 450.5 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002508/0.3438, allocations: 1.28 MB / 451.8 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.3438, allocations: 3.391 kB / 451.8 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001717/0.344, allocations: 31.22 kB / 451.8 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006547/0.3446, allocations: 220.3 kB / 452.1 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.847e-05/0.3446, allocations: 6.641 kB / 452.1 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004927/0.3496, allocations: 3.048 MB / 455.1 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.3496, allocations: 0.75 kB / 455.1 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00222/0.3518, allocations: 0.9334 MB / 456 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001879/0.352, allocations: 137.2 kB / 456.2 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.369e-05/0.3521, allocations: 12.59 kB / 456.2 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003794/0.3524, allocations: 42.66 kB / 456.2 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.972e-05/0.3525, allocations: 43.31 kB / 456.3 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.509e-05/0.3526, allocations: 11.38 kB / 456.3 MB, free: 11.61 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000385/0.3529, allocations: 306.6 kB / 456.6 MB, free: 11.46 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3529, allocations: 0 / 456.6 MB, free: 11.46 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007458/0.3537, allocations: 187.4 kB / 456.8 MB, free: 11.42 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 (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.0001932/0.3539, allocations: 106.2 kB / 456.9 MB, free: 11.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001706/0.3556, allocations: 0.6556 MB / 457.5 MB, free: 11.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.3556, allocations: 5.062 kB / 457.5 MB, free: 11.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007651/0.3564, allocations: 405.5 kB / 457.9 MB, free: 10.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005308/0.3569, allocations: 81.58 kB / 458 MB, free: 10.79 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001803/0.3587, allocations: 0.936 MB / 458.9 MB, free: 10.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005592/0.3592, allocations: 0.8629 MB / 459.8 MB, free: 9.566 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001919/0.3594, allocations: 53.92 kB / 459.9 MB, free: 9.551 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.775e-05/0.3595, allocations: 30.75 kB / 459.9 MB, free: 9.543 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3595, allocations: 0 / 459.9 MB, free: 9.543 MB / 366.1 MB Notification: Performance of Templates: time 0.01589/0.3754, allocations: 7.813 MB / 467.7 MB, free: 5.824 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.962501145899296]