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.001789/0.001789, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002225/0.002225, allocations: 213.3 kB / 24.54 MB, free: 4.016 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.535/1.535, allocations: 230.3 MB / 258 MB, free: 8.254 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.001979/0.001979, allocations: 71.86 kB / 378.8 MB, free: 2.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2799/0.2819, allocations: 53.36 MB / 432.2 MB, free: 7.051 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Comparator): time 0.004428/0.2863, allocations: 2.933 MB / 435.1 MB, free: 4.105 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00152/0.2878, allocations: 0.7439 MB / 435.8 MB, free: 3.355 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001721/0.288, allocations: 11.94 kB / 435.8 MB, free: 3.344 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001862/0.2882, allocations: 51.5 kB / 435.9 MB, free: 3.293 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002087/0.2884, allocations: 95.19 kB / 436 MB, free: 3.199 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003266/0.2887, allocations: 111.8 kB / 436.1 MB, free: 3.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004567/0.2892, allocations: 390.5 kB / 436.5 MB, free: 2.707 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002347/0.2894, allocations: 96.45 kB / 436.6 MB, free: 2.613 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002028/0.2896, allocations: 159.4 kB / 436.7 MB, free: 2.457 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002389/0.2898, allocations: 175.2 kB / 436.9 MB, free: 2.285 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.58e-05/0.2899, allocations: 36 kB / 436.9 MB, free: 2.25 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.546e-05/0.29, allocations: 40 kB / 437 MB, free: 2.211 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.797e-05/0.2901, allocations: 79.69 kB / 437.1 MB, free: 2.133 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002119/0.2903, allocations: 167.2 kB / 437.2 MB, free: 1.969 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005096/0.2908, allocations: 400 kB / 437.6 MB, free: 1.582 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2908, allocations: 0 / 437.6 MB, free: 1.582 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2908, allocations: 0 / 437.6 MB, free: 1.582 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.2908, allocations: 0 / 437.6 MB, free: 1.582 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.001454/0.2923, allocations: 0.6092 MB / 438.2 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.2923, allocations: 12.03 kB / 438.2 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.683e-05/0.2924, allocations: 40.7 kB / 438.3 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004197/0.2928, allocations: 233.9 kB / 438.5 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.541e-05/0.2928, allocations: 16.88 kB / 438.5 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.289e-05/0.2929, allocations: 24.38 kB / 438.5 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007989/0.2937, allocations: 330.9 kB / 438.9 MB, free: 260 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.2937, allocations: 4 kB / 438.9 MB, free: 256 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.283e-05/0.2937, allocations: 8 kB / 438.9 MB, free: 248 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.2937, allocations: 8 kB / 438.9 MB, free: 240 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000926/0.2947, allocations: 269.9 kB / 439.1 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002026/0.2967, allocations: 1.099 MB / 440.2 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008722/0.2976, allocations: 202.5 kB / 440.4 MB, free: 14.58 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003472/0.2979, allocations: 84.8 kB / 440.5 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.2979, allocations: 3.984 kB / 440.5 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004726/0.2984, allocations: 165.1 kB / 440.7 MB, free: 14.31 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 3.456e-06/0.2984, allocations: 3.984 kB / 440.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.00135/0.2997, allocations: 334.1 kB / 441 MB, free: 13.97 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.888e-05/0.2998, allocations: 84.98 kB / 441.1 MB, free: 13.87 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004058/0.3002, allocations: 324.5 kB / 441.4 MB, free: 13.55 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.846e-05/0.3002, allocations: 29.7 kB / 441.4 MB, free: 13.51 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001838/0.3004, allocations: 219.8 kB / 441.7 MB, free: 13.29 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.868e-05/0.3005, allocations: 35.73 kB / 441.7 MB, free: 13.26 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.911e-05/0.3006, allocations: 49.89 kB / 441.7 MB, free: 13.2 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002724/0.3008, allocations: 342.8 kB / 442.1 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003751/0.3012, allocations: 100.2 kB / 442.2 MB, free: 12.76 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004587/0.3017, allocations: 211.7 kB / 442.4 MB, free: 12.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008899/0.3026, allocations: 327.9 kB / 442.7 MB, free: 12.12 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.613e-06/0.3026, allocations: 8 kB / 442.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001039/0.3036, allocations: 403.8 kB / 443.1 MB, free: 11.7 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.093e-05/0.3036, allocations: 33.7 kB / 443.1 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.3037, allocations: 4 kB / 443.1 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001904/0.3038, allocations: 33 kB / 443.2 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002969/0.3041, allocations: 67.88 kB / 443.2 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001197/0.3053, allocations: 1.295 MB / 444.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003737/0.3057, allocations: 63.69 kB / 444.6 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.516e-05/0.3057, allocations: 12 kB / 444.6 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: 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.0001769/0.3059, allocations: 149.8 kB / 444.8 MB, free: 9.914 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.307e-05/0.306, allocations: 27.81 kB / 444.8 MB, free: 9.887 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.667e-05/0.306, allocations: 30.61 kB / 444.8 MB, free: 9.855 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.306, allocations: 0 / 444.8 MB, free: 9.855 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-05/0.306, allocations: 7.938 kB / 444.8 MB, free: 9.848 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.306, allocations: 3.984 kB / 444.8 MB, free: 9.844 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004734/0.3065, allocations: 414.3 kB / 445.2 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.3065, allocations: 4.406 kB / 445.2 MB, free: 9.383 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001969/0.3067, allocations: 31.95 kB / 445.3 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001076/0.3068, allocations: 36.66 kB / 445.3 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.607e-05/0.3068, allocations: 4 kB / 445.3 MB, free: 9.309 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001106/0.3079, allocations: 1.287 MB / 446.6 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.3079, allocations: 8.188 kB / 446.6 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008093/0.3087, allocations: 278.3 kB / 446.9 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.867e-05/0.3088, allocations: 27.84 kB / 446.9 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.143e-05/0.3088, allocations: 4 kB / 446.9 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002389/0.3091, allocations: 23.97 kB / 446.9 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.132e-05/0.3092, allocations: 19.91 kB / 446.9 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.3092, allocations: 4 kB / 447 MB, free: 7.527 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002662/0.3094, allocations: 235.1 kB / 447.2 MB, free: 7.297 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3094, allocations: 0 / 447.2 MB, free: 7.297 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003749/0.3098, allocations: 67.89 kB / 447.2 MB, free: 7.23 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: 3 ($whenCondition1,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 (9): * Single equations (assignments): 6 * 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.000136/0.3099, allocations: 103.2 kB / 447.3 MB, free: 7.117 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001075/0.311, allocations: 406.5 kB / 447.7 MB, free: 6.695 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.311, allocations: 0 / 447.7 MB, free: 6.695 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000521/0.3115, allocations: 210.7 kB / 447.9 MB, free: 6.477 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003479/0.3119, allocations: 60.2 kB / 448 MB, free: 6.426 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.313, allocations: 496.4 kB / 448.5 MB, free: 5.914 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004166/0.3134, allocations: 0.7558 MB / 449.2 MB, free: 5.133 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000128/0.3135, allocations: 34.95 kB / 449.3 MB, free: 5.098 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.721e-05/0.3136, allocations: 23.44 kB / 449.3 MB, free: 5.074 MB / 350.1 MB Notification: Performance of SimCode: time 4.5e-07/0.3136, allocations: 8 kB / 449.3 MB, free: 5.066 MB / 350.1 MB Notification: Performance of Templates: time 0.008029/0.3217, allocations: 3.41 MB / 452.7 MB, free: 1.688 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/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.7202259646728635]