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.001885/0.001885, allocations: 96.25 kB / 20.96 MB, free: 3.473 MB / 18.57 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.002197/0.002197, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 18.57 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.498/1.498, allocations: 177 MB / 204.5 MB, free: 5.617 MB / 186.7 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 1.774e-06/1.774e-06, allocations: 0 / 272.2 MB, free: 1.762 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.748e-05/2.926e-05, allocations: 6.312 kB / 272.3 MB, free: 1.754 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Comparator): time 0.005059/0.005089, allocations: 2.736 MB / 275 MB, free: 15 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002076/0.007165, allocations: 0.6933 MB / 275.7 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000309/0.007473, allocations: 7.938 kB / 275.7 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002459/0.007719, allocations: 51.44 kB / 275.7 MB, free: 14.24 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004217/0.008141, allocations: 115.1 kB / 275.9 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003846/0.008526, allocations: 91.77 kB / 275.9 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007252/0.009251, allocations: 406.2 kB / 276.3 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002627/0.009514, allocations: 96.44 kB / 276.4 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004708/0.009984, allocations: 219.5 kB / 276.6 MB, free: 13.33 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002856/0.01027, allocations: 127.6 kB / 276.8 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.921e-05/0.01036, allocations: 36 kB / 276.8 MB, free: 13.17 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.178e-05/0.01044, allocations: 43.94 kB / 276.9 MB, free: 13.13 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.976e-05/0.01054, allocations: 87.67 kB / 276.9 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002106/0.01075, allocations: 119.7 kB / 277.1 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006274/0.01138, allocations: 406.7 kB / 277.4 MB, free: 12.53 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.037e-06/0.01139, allocations: 7.984 kB / 277.5 MB, free: 12.52 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.01139, allocations: 0 / 277.5 MB, free: 12.52 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.615e-05/0.01141, allocations: 0 / 277.5 MB, free: 12.52 MB / 266.7 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.001701/0.01311, allocations: 0.5975 MB / 278.1 MB, free: 11.88 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.01316, allocations: 12.03 kB / 278.1 MB, free: 11.87 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001826/0.01334, allocations: 56.73 kB / 278.1 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006496/0.01399, allocations: 246.2 kB / 278.4 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.202e-05/0.01402, allocations: 17.03 kB / 278.4 MB, free: 11.53 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.406e-05/0.01407, allocations: 28.38 kB / 278.4 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008116/0.01489, allocations: 308.2 kB / 278.7 MB, free: 11.19 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.0149, allocations: 4.172 kB / 278.7 MB, free: 11.19 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.13e-05/0.01494, allocations: 12.38 kB / 278.7 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.77e-05/0.01496, allocations: 11.94 kB / 278.7 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007628/0.01573, allocations: 250.5 kB / 279 MB, free: 10.92 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002371/0.0181, allocations: 0.9064 MB / 279.9 MB, free: 9.945 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000692/0.01879, allocations: 170.5 kB / 280.1 MB, free: 9.77 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002664/0.01905, allocations: 76.8 kB / 280.1 MB, free: 9.691 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.671e-05/0.01908, allocations: 4 kB / 280.1 MB, free: 9.688 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004388/0.01952, allocations: 183.5 kB / 280.3 MB, free: 9.484 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.243e-06/0.01952, allocations: 0 / 280.3 MB, free: 9.484 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.001184/0.02071, allocations: 314.3 kB / 280.6 MB, free: 9.168 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.546e-05/0.0208, allocations: 106.8 kB / 280.7 MB, free: 9.039 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003821/0.02118, allocations: 297.7 kB / 281 MB, free: 8.742 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.995e-05/0.02122, allocations: 33.7 kB / 281 MB, free: 8.703 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001992/0.02142, allocations: 211.9 kB / 281.3 MB, free: 8.492 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.272e-05/0.02147, allocations: 43.64 kB / 281.3 MB, free: 8.449 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/0.02159, allocations: 57.69 kB / 281.4 MB, free: 8.387 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002102/0.0218, allocations: 334.8 kB / 281.7 MB, free: 8.051 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003245/0.02212, allocations: 117.6 kB / 281.8 MB, free: 7.93 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004416/0.02257, allocations: 262.7 kB / 282.1 MB, free: 7.605 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007532/0.02332, allocations: 304 kB / 282.3 MB, free: 7.25 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.02332, allocations: 4 kB / 282.4 MB, free: 7.246 MB / 266.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001265/0.02459, allocations: 429.5 kB / 282.8 MB, free: 6.805 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.361e-05/0.02464, allocations: 33.7 kB / 282.8 MB, free: 6.766 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.02465, allocations: 4 kB / 282.8 MB, free: 6.762 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003441/0.02499, allocations: 48.77 kB / 282.9 MB, free: 6.711 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002509/0.02525, allocations: 64.02 kB / 282.9 MB, free: 6.648 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001374/0.02662, allocations: 1.264 MB / 284.2 MB, free: 5.285 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003375/0.02696, allocations: 47.91 kB / 284.2 MB, free: 5.238 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.632e-05/0.02698, allocations: 16 kB / 284.2 MB, free: 5.223 MB / 266.7 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.0001943/0.02718, allocations: 161.7 kB / 284.4 MB, free: 5.055 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.084e-05/0.02723, allocations: 23.86 kB / 284.4 MB, free: 5.031 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.451e-05/0.02729, allocations: 29.77 kB / 284.5 MB, free: 4.992 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.0273, allocations: 0 / 284.5 MB, free: 4.992 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.0273, allocations: 7.938 kB / 284.5 MB, free: 4.984 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.0273, allocations: 0 / 284.5 MB, free: 4.984 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000554/0.02786, allocations: 370.8 kB / 284.8 MB, free: 4.582 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.02786, allocations: 32 / 284.8 MB, free: 4.582 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001479/0.02801, allocations: 27.97 kB / 284.9 MB, free: 4.555 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002305/0.02824, allocations: 44.83 kB / 284.9 MB, free: 4.508 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.967e-05/0.02826, allocations: 7.984 kB / 284.9 MB, free: 4.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001328/0.02959, allocations: 1.26 MB / 286.2 MB, free: 3.141 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/0.02959, allocations: 8.016 kB / 286.2 MB, free: 3.133 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006744/0.03027, allocations: 243 kB / 286.4 MB, free: 2.871 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.848e-05/0.03033, allocations: 35.94 kB / 286.4 MB, free: 2.836 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.485e-05/0.03036, allocations: 0 / 286.4 MB, free: 2.836 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002216/0.03058, allocations: 27.97 kB / 286.5 MB, free: 2.809 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.868e-05/0.03067, allocations: 19.97 kB / 286.5 MB, free: 2.789 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.03069, allocations: 3.984 kB / 286.5 MB, free: 2.785 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002435/0.03093, allocations: 205.2 kB / 286.7 MB, free: 2.59 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03093, allocations: 0 / 286.7 MB, free: 2.59 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003836/0.03132, allocations: 79.78 kB / 286.8 MB, free: 2.512 MB / 266.7 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.0001694/0.03148, allocations: 111.1 kB / 286.9 MB, free: 2.395 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001006/0.03249, allocations: 422.3 kB / 287.3 MB, free: 1.957 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.03249, allocations: 4.125 kB / 287.3 MB, free: 1.953 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004627/0.03296, allocations: 202.5 kB / 287.5 MB, free: 1.742 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003602/0.03332, allocations: 56.8 kB / 287.6 MB, free: 1.688 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.03449, allocations: 482.1 kB / 288 MB, free: 1.184 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001939/0.03468, allocations: 151.5 kB / 288.2 MB, free: 1.016 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001359/0.03482, allocations: 30.28 kB / 288.2 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.585e-05/0.0349, allocations: 24.5 kB / 288.2 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of SimCode: time 9.52e-07/0.0349, allocations: 0 / 288.2 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of Templates: time 0.008975/0.04388, allocations: 3.485 MB / 291.7 MB, free: 13.52 MB / 282.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Comparator/Comparator.csv","/var/lib/jenkins/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: 4.598653815919533]