Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.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.001298/0.001298, allocations: 103.6 kB / 21.19 MB, free: 0.5156 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.00143/0.00143, allocations: 214.8 kB / 24.48 MB, free: 3.832 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.415/1.415, allocations: 230.5 MB / 258.1 MB, free: 7.781 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.Comparator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Comparator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Comparator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Comparator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 55.91 kB / 379 MB, free: 2.277 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2904/0.2923, allocations: 53.42 MB / 432.4 MB, free: 6.488 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Comparator): time 0.004715/0.2971, allocations: 2.738 MB / 435.2 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0015/0.2986, allocations: 0.6817 MB / 435.8 MB, free: 3.055 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001851/0.2987, allocations: 8 kB / 435.9 MB, free: 3.047 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001998/0.2989, allocations: 55.44 kB / 435.9 MB, free: 2.992 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002542/0.2992, allocations: 103.2 kB / 436 MB, free: 2.891 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003089/0.2995, allocations: 99.81 kB / 436.1 MB, free: 2.793 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004772/0.3, allocations: 386.5 kB / 436.5 MB, free: 2.414 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002295/0.3002, allocations: 99.36 kB / 436.6 MB, free: 2.32 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002116/0.3004, allocations: 163.3 kB / 436.7 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000232/0.3007, allocations: 151.2 kB / 436.9 MB, free: 2.012 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.511e-05/0.3007, allocations: 36 kB / 436.9 MB, free: 1.977 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.537e-05/0.3008, allocations: 39.94 kB / 437 MB, free: 1.938 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.433e-05/0.3009, allocations: 83.67 kB / 437 MB, free: 1.855 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001742/0.301, allocations: 143.3 kB / 437.2 MB, free: 1.715 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005344/0.3016, allocations: 402.1 kB / 437.6 MB, free: 1.324 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.3016, allocations: 3.984 kB / 437.6 MB, free: 1.32 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.063e-06/0.3016, allocations: 0 / 437.6 MB, free: 1.32 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.333e-06/0.3016, allocations: 0 / 437.6 MB, free: 1.32 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001364/0.303, allocations: 0.6092 MB / 438.2 MB, free: 0.668 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.303, allocations: 8.031 kB / 438.2 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.138e-05/0.3031, allocations: 32.75 kB / 438.2 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005154/0.3036, allocations: 251 kB / 438.5 MB, free: 364 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.945e-05/0.3036, allocations: 21.03 kB / 438.5 MB, free: 344 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.649e-05/0.3037, allocations: 24.38 kB / 438.5 MB, free: 320 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006459/0.3043, allocations: 308 kB / 438.8 MB, free: 4 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.3043, allocations: 0 / 438.8 MB, free: 4 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.746e-05/0.3044, allocations: 8.078 kB / 438.8 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.3044, allocations: 8 kB / 438.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006782/0.3051, allocations: 258.5 kB / 439.1 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00184/0.3069, allocations: 0.8858 MB / 440 MB, free: 14.78 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006357/0.3076, allocations: 170.5 kB / 440.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002558/0.3078, allocations: 80.8 kB / 440.2 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.3078, allocations: 0 / 440.2 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004335/0.3083, allocations: 179.1 kB / 440.4 MB, free: 14.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.933e-06/0.3083, allocations: 0 / 440.4 MB, free: 14.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001152/0.3094, allocations: 314.6 kB / 440.7 MB, free: 14.01 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.52e-05/0.3095, allocations: 106.8 kB / 440.8 MB, free: 13.88 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003618/0.3099, allocations: 301.7 kB / 441.1 MB, free: 13.58 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.739e-05/0.3099, allocations: 25.7 kB / 441.1 MB, free: 13.55 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001741/0.3101, allocations: 219.9 kB / 441.3 MB, free: 13.33 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.22e-05/0.3101, allocations: 39.69 kB / 441.4 MB, free: 13.29 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.92e-05/0.3102, allocations: 61.73 kB / 441.4 MB, free: 13.22 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.3104, allocations: 330.8 kB / 441.8 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003052/0.3107, allocations: 121.6 kB / 441.9 MB, free: 12.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004209/0.3111, allocations: 254.8 kB / 442.1 MB, free: 12.45 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006399/0.3117, allocations: 312 kB / 442.4 MB, free: 12.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/0.3117, allocations: 4 kB / 442.4 MB, free: 12.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0009466/0.3127, allocations: 424.2 kB / 442.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.891e-05/0.3127, allocations: 33.7 kB / 442.9 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.694e-05/0.3128, allocations: 7.984 kB / 442.9 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001969/0.313, allocations: 37.3 kB / 442.9 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002661/0.3132, allocations: 55.84 kB / 443 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001364/0.3146, allocations: 1.272 MB / 444.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003597/0.315, allocations: 55.84 kB / 444.3 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.656e-05/0.315, allocations: 15.98 kB / 444.3 MB, free: 10.07 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 7 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,opAmp.satNeg,opAmp.satPos,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 1 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001947/0.3152, allocations: 160.3 kB / 444.5 MB, free: 9.902 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.05e-05/0.3152, allocations: 23.86 kB / 444.5 MB, free: 9.879 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.962e-05/0.3153, allocations: 29.7 kB / 444.5 MB, free: 9.848 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.3153, allocations: 0 / 444.5 MB, free: 9.848 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.3153, allocations: 4 kB / 444.5 MB, free: 9.844 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.3153, allocations: 0 / 444.5 MB, free: 9.844 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004478/0.3157, allocations: 366.9 kB / 444.9 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.3157, allocations: 0 / 444.9 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001475/0.3159, allocations: 27.91 kB / 444.9 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001096/0.316, allocations: 24.84 kB / 444.9 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.316, allocations: 0 / 444.9 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001099/0.3171, allocations: 1.272 MB / 446.2 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.3171, allocations: 4.031 kB / 446.2 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006455/0.3178, allocations: 250.5 kB / 446.5 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.462e-05/0.3178, allocations: 27.78 kB / 446.5 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.596e-05/0.3178, allocations: 4.094 kB / 446.5 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002066/0.3181, allocations: 27.97 kB / 446.5 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.954e-05/0.3181, allocations: 27.89 kB / 446.6 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/0.3181, allocations: 4 kB / 446.6 MB, free: 7.652 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002417/0.3184, allocations: 197.2 kB / 446.7 MB, free: 7.457 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3184, allocations: 4 kB / 446.8 MB, free: 7.453 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000403/0.3188, allocations: 75.84 kB / 446.8 MB, free: 7.379 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,opAmp.satPos,opAmp.satNeg,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001664/0.319, allocations: 110.6 kB / 446.9 MB, free: 7.262 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009821/0.3199, allocations: 412.3 kB / 447.3 MB, free: 6.828 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.3199, allocations: 0 / 447.3 MB, free: 6.828 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004346/0.3204, allocations: 206.7 kB / 447.5 MB, free: 6.613 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000338/0.3207, allocations: 48.83 kB / 447.6 MB, free: 6.566 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00125/0.322, allocations: 0.5145 MB / 448.1 MB, free: 6.016 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001544/0.3221, allocations: 151.5 kB / 448.2 MB, free: 5.852 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.175e-05/0.3222, allocations: 31.42 kB / 448.3 MB, free: 5.82 MB / 350.1 MB Notification: Performance of SimCode: time 1.253e-06/0.3222, allocations: 0 / 448.3 MB, free: 5.82 MB / 350.1 MB Notification: Performance of Templates: time 0.008592/0.3308, allocations: 4.777 MB / 453.1 MB, free: 1.051 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Comparator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Comparator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Comparator/Comparator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.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: 7.4731017192825675]