Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001311/0.001311, allocations: 113.9 kB / 21.18 MB, free: 0.6289 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.00137/0.00137, allocations: 209.8 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.401/1.401, allocations: 230.4 MB / 258.1 MB, free: 8.148 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-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Comparator") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 79.81 kB / 378.8 MB, free: 2.863 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2205/0.2224, allocations: 53.31 MB / 432.1 MB, free: 7.395 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Comparator): time 0.00428/0.2267, allocations: 2.945 MB / 435 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001268/0.228, allocations: 0.7362 MB / 435.8 MB, free: 3.695 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001399/0.2281, allocations: 4 kB / 435.8 MB, free: 3.691 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001652/0.2283, allocations: 47.5 kB / 435.8 MB, free: 3.645 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000206/0.2285, allocations: 103.1 kB / 435.9 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002792/0.2288, allocations: 115.8 kB / 436 MB, free: 3.43 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004417/0.2292, allocations: 390.5 kB / 436.4 MB, free: 3.047 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001938/0.2294, allocations: 95.91 kB / 436.5 MB, free: 2.953 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001812/0.2296, allocations: 147.4 kB / 436.7 MB, free: 2.809 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002331/0.2298, allocations: 179.2 kB / 436.8 MB, free: 2.633 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.826e-05/0.2299, allocations: 36 kB / 436.9 MB, free: 2.598 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.724e-05/0.2299, allocations: 36 kB / 436.9 MB, free: 2.562 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.802e-05/0.23, allocations: 79.69 kB / 437 MB, free: 2.484 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001673/0.2302, allocations: 167.2 kB / 437.1 MB, free: 2.32 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004542/0.2306, allocations: 396.4 kB / 437.5 MB, free: 1.934 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.2306, allocations: 7.938 kB / 437.5 MB, free: 1.926 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.2306, allocations: 0 / 437.5 MB, free: 1.926 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.2306, allocations: 0 / 437.5 MB, free: 1.926 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001411/0.2321, allocations: 0.6845 MB / 438.2 MB, free: 1.184 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.2321, allocations: 8.031 kB / 438.2 MB, free: 1.176 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.908e-05/0.2322, allocations: 36.7 kB / 438.3 MB, free: 1.141 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004173/0.2326, allocations: 303.7 kB / 438.6 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.2326, allocations: 12.94 kB / 438.6 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.118e-05/0.2327, allocations: 28.38 kB / 438.6 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00073/0.2334, allocations: 323.9 kB / 438.9 MB, free: 448 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.2334, allocations: 0 / 438.9 MB, free: 448 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.039e-05/0.2334, allocations: 8 kB / 438.9 MB, free: 440 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.2334, allocations: 8 kB / 438.9 MB, free: 432 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008338/0.2343, allocations: 282 kB / 439.2 MB, free: 152 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001891/0.2362, allocations: 1.134 MB / 440.3 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008424/0.237, allocations: 206.5 kB / 440.5 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003239/0.2373, allocations: 80.98 kB / 440.6 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.2373, allocations: 3.938 kB / 440.6 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004459/0.2378, allocations: 161 kB / 440.8 MB, free: 14.45 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.643e-06/0.2378, allocations: 3.938 kB / 440.8 MB, free: 14.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.001342/0.2391, allocations: 415.1 kB / 441.2 MB, free: 14.01 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.862e-05/0.2392, allocations: 81.14 kB / 441.3 MB, free: 13.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000375/0.2396, allocations: 328.5 kB / 441.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.741e-05/0.2396, allocations: 29.7 kB / 441.6 MB, free: 13.56 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001565/0.2397, allocations: 211.9 kB / 441.8 MB, free: 13.35 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.732e-05/0.2398, allocations: 35.73 kB / 441.9 MB, free: 13.31 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.357e-05/0.2399, allocations: 53.89 kB / 441.9 MB, free: 13.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.24, allocations: 342.8 kB / 442.3 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003694/0.2404, allocations: 96.16 kB / 442.3 MB, free: 12.81 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004551/0.2409, allocations: 219.4 kB / 442.6 MB, free: 12.55 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007872/0.2416, allocations: 324 kB / 442.9 MB, free: 12.17 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/0.2416, allocations: 4 kB / 442.9 MB, free: 12.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00101/0.2427, allocations: 399.5 kB / 443.3 MB, free: 11.76 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.173e-05/0.2427, allocations: 38.19 kB / 443.3 MB, free: 11.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.2427, allocations: 8 kB / 443.3 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001696/0.2429, allocations: 32.78 kB / 443.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002902/0.2432, allocations: 63.88 kB / 443.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001196/0.2444, allocations: 1.402 MB / 444.8 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004352/0.2448, allocations: 67.78 kB / 444.9 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.979e-05/0.2448, allocations: 16 kB / 444.9 MB, free: 9.988 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: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * 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.0001608/0.245, allocations: 137.8 kB / 445 MB, free: 9.844 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.639e-05/0.245, allocations: 31.81 kB / 445.1 MB, free: 9.812 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.134e-05/0.2451, allocations: 30.61 kB / 445.1 MB, free: 9.777 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.2451, allocations: 3.984 kB / 445.1 MB, free: 9.773 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.2451, allocations: 4 kB / 445.1 MB, free: 9.77 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.2452, allocations: 116.8 kB / 445.2 MB, free: 9.637 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.961e-05/0.2452, allocations: 0 / 445.2 MB, free: 9.637 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002535/0.2455, allocations: 27.97 kB / 445.2 MB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.258e-05/0.2456, allocations: 11.98 kB / 445.3 MB, free: 9.598 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00102/0.2466, allocations: 413.1 kB / 445.7 MB, free: 9.184 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001179/0.2478, allocations: 0.5641 MB / 446.2 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003354/0.2481, allocations: 83.95 kB / 446.3 MB, free: 8.52 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002613/0.2484, allocations: 231.1 kB / 446.5 MB, free: 8.297 MB / 350.1 MB Notification: Performance of Backend: time 5.91e-07/0.2484, allocations: 4 kB / 446.5 MB, free: 8.293 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00114/0.2495, allocations: 408 kB / 446.9 MB, free: 7.867 MB / 350.1 MB Notification: Performance of SimCode: time 0.001176/0.2507, allocations: 0.9299 MB / 447.9 MB, free: 6.895 MB / 350.1 MB Notification: Performance of Templates: time 0.008481/0.2591, allocations: 3.765 MB / 451.6 MB, free: 3.164 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Comparator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Comparator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Comparator/Comparator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 4.1487357509322464]