Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009881/0.0009881, allocations: 80.8 kB / 22.28 MB, free: 2.211 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 166.9 kB / 25.7 MB, free: 8.438 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9277/0.9277, allocations: 158.6 MB / 187.6 MB, free: 2.793 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Comparator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 251.6 MB, free: 7.203 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.544e-05/1.68e-05, allocations: 6.25 kB / 251.6 MB, free: 7.195 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Comparator): time 0.002795/0.002811, allocations: 2.856 MB / 254.5 MB, free: 4.32 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001068/0.003879, allocations: 0.7601 MB / 255.2 MB, free: 3.551 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001297/0.004009, allocations: 7.938 kB / 255.2 MB, free: 3.543 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001317/0.004141, allocations: 47.5 kB / 255.3 MB, free: 3.496 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001508/0.004292, allocations: 103.1 kB / 255.4 MB, free: 3.395 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002218/0.004513, allocations: 115.7 kB / 255.5 MB, free: 3.281 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003265/0.00484, allocations: 410.1 kB / 255.9 MB, free: 2.879 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001628/0.005003, allocations: 95.08 kB / 256 MB, free: 2.785 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002308/0.005234, allocations: 223.5 kB / 256.2 MB, free: 2.566 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001512/0.005385, allocations: 135.6 kB / 256.3 MB, free: 2.434 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.17e-05/0.005426, allocations: 36 kB / 256.4 MB, free: 2.398 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.328e-05/0.00546, allocations: 40 kB / 256.4 MB, free: 2.359 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.197e-05/0.005512, allocations: 83.66 kB / 256.5 MB, free: 2.277 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 8.146e-05/0.005593, allocations: 115.7 kB / 256.6 MB, free: 2.164 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000234/0.005827, allocations: 259 kB / 256.9 MB, free: 1.91 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.005829, allocations: 0 / 256.9 MB, free: 1.91 MB / 234.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.00583, allocations: 0 / 256.9 MB, free: 1.91 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.858e-06/0.005834, allocations: 0 / 256.9 MB, free: 1.91 MB / 234.7 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.000658/0.006491, allocations: 0.561 MB / 257.4 MB, free: 1.316 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.006532, allocations: 8.031 kB / 257.4 MB, free: 1.309 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.419e-05/0.006596, allocations: 44.91 kB / 257.5 MB, free: 1.266 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002399/0.006836, allocations: 189.2 kB / 257.7 MB, free: 1.055 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.006853, allocations: 20.88 kB / 257.7 MB, free: 1.035 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.297e-05/0.006876, allocations: 28.31 kB / 257.7 MB, free: 1.008 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002517/0.007128, allocations: 205.2 kB / 257.9 MB, free: 0.7969 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.007138, allocations: 4.188 kB / 257.9 MB, free: 0.793 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.007153, allocations: 8.375 kB / 257.9 MB, free: 0.7852 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.007161, allocations: 11.94 kB / 257.9 MB, free: 0.7734 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.652e-05/0.007258, allocations: 63.47 kB / 258 MB, free: 0.7109 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008206/0.008078, allocations: 0.7358 MB / 258.7 MB, free: 15.92 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001405/0.008219, allocations: 74.53 kB / 258.8 MB, free: 15.84 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.193e-05/0.008251, allocations: 20.86 kB / 258.8 MB, free: 15.82 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.625e-05/0.008267, allocations: 7.938 kB / 258.8 MB, free: 15.81 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001125/0.00838, allocations: 89.05 kB / 258.9 MB, free: 15.7 MB / 250.7 MB Notification: Performance of pre-optimization done (n=11): time 1.172e-06/0.008381, allocations: 0 / 258.9 MB, free: 15.7 MB / 250.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002804/0.008661, allocations: 126.6 kB / 259 MB, free: 15.57 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.645e-05/0.008698, allocations: 81.23 kB / 259.1 MB, free: 15.47 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.008845, allocations: 268.8 kB / 259.4 MB, free: 15.2 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.00886, allocations: 29.7 kB / 259.4 MB, free: 15.16 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.556e-05/0.008935, allocations: 196.4 kB / 259.6 MB, free: 14.96 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.038e-05/0.008956, allocations: 35.69 kB / 259.6 MB, free: 14.93 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.774e-05/0.009013, allocations: 57.91 kB / 259.7 MB, free: 14.86 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.279e-05/0.009086, allocations: 338.7 kB / 260 MB, free: 14.52 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.356e-05/0.00914, allocations: 55.25 kB / 260.1 MB, free: 14.46 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.017e-05/0.00923, allocations: 167.7 kB / 260.2 MB, free: 14.24 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.009362, allocations: 191.2 kB / 260.4 MB, free: 14 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.009364, allocations: 4 kB / 260.4 MB, free: 14 MB / 250.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002162/0.00958, allocations: 233.5 kB / 260.7 MB, free: 13.75 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.69e-05/0.009607, allocations: 38.16 kB / 260.7 MB, free: 13.7 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.009613, allocations: 8 kB / 260.7 MB, free: 13.7 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001666/0.00978, allocations: 40.83 kB / 260.7 MB, free: 13.65 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.009904, allocations: 67.77 kB / 260.8 MB, free: 13.59 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005501/0.01045, allocations: 1.178 MB / 262 MB, free: 12.32 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001243/0.01058, allocations: 35.83 kB / 262 MB, free: 12.29 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.405e-05/0.01059, allocations: 8 kB / 262 MB, free: 12.28 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.037e-05/0.01067, allocations: 134.1 kB / 262.2 MB, free: 12.14 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.018e-05/0.01075, allocations: 163.8 kB / 262.3 MB, free: 11.93 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001222/0.01088, allocations: 207.1 kB / 262.5 MB, free: 11.67 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.273e-06/0.01088, allocations: 0 / 262.5 MB, free: 11.67 MB / 250.7 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0001893/0.01107, allocations: 241.9 kB / 262.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.01108, allocations: 37.73 kB / 262.8 MB, free: 11.37 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.105e-06/0.01109, allocations: 4 kB / 262.8 MB, free: 11.37 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001037/0.01119, allocations: 36.83 kB / 262.8 MB, free: 11.33 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.285e-05/0.01128, allocations: 55.91 kB / 262.9 MB, free: 11.27 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005643/0.01185, allocations: 1.166 MB / 264.1 MB, free: 10.02 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.01196, allocations: 27.88 kB / 264.1 MB, free: 9.988 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.01197, allocations: 12 kB / 264.1 MB, free: 9.977 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 8.345e-05/0.01205, allocations: 203.8 kB / 264.3 MB, free: 9.773 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.186e-05/0.01207, allocations: 19.98 kB / 264.3 MB, free: 9.754 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.327e-05/0.0121, allocations: 25.89 kB / 264.3 MB, free: 9.73 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.0121, allocations: 4 kB / 264.3 MB, free: 9.727 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.0121, allocations: 0 / 264.3 MB, free: 9.727 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.01211, allocations: 0 / 264.3 MB, free: 9.727 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002123/0.01232, allocations: 271.4 kB / 264.6 MB, free: 9.434 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.01232, allocations: 0 / 264.6 MB, free: 9.434 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.135e-05/0.01238, allocations: 23.97 kB / 264.6 MB, free: 9.41 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001372/0.01252, allocations: 36.86 kB / 264.7 MB, free: 9.371 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.01253, allocations: 4 kB / 264.7 MB, free: 9.367 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005246/0.01305, allocations: 1.17 MB / 265.8 MB, free: 8.105 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.01305, allocations: 128 / 265.8 MB, free: 8.105 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001296/0.01318, allocations: 138.7 kB / 266 MB, free: 7.945 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.226e-05/0.01321, allocations: 19.8 kB / 266 MB, free: 7.926 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.896e-05/0.01322, allocations: 4 kB / 266 MB, free: 7.922 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.902e-05/0.01329, allocations: 15.98 kB / 266 MB, free: 7.906 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.96e-05/0.01335, allocations: 19.97 kB / 266 MB, free: 7.887 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.01336, allocations: 0 / 266 MB, free: 7.887 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001104/0.01347, allocations: 94.75 kB / 266.1 MB, free: 7.793 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.01347, allocations: 0 / 266.1 MB, free: 7.793 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002981/0.01377, allocations: 135.7 kB / 266.3 MB, free: 7.66 MB / 250.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: 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 (10): * Single equations (assignments): 7 * 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 8.102e-05/0.01385, allocations: 88.34 kB / 266.3 MB, free: 7.566 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004298/0.01428, allocations: 0.5601 MB / 266.9 MB, free: 6.941 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.904e-06/0.01429, allocations: 4 kB / 266.9 MB, free: 6.938 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001092/0.0144, allocations: 155.4 kB / 267.1 MB, free: 6.77 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001623/0.01456, allocations: 52.38 kB / 267.1 MB, free: 6.719 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006229/0.01518, allocations: 446.3 kB / 267.5 MB, free: 6.254 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.101e-05/0.01523, allocations: 84.56 kB / 267.6 MB, free: 6.152 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.989e-05/0.01532, allocations: 38.28 kB / 267.7 MB, free: 6.117 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001193/0.01544, allocations: 91.34 kB / 267.8 MB, free: 6.027 MB / 250.7 MB Notification: Performance of SimCode: time 8.71e-07/0.01544, allocations: 0 / 267.8 MB, free: 6.027 MB / 250.7 MB Notification: Performance of Templates: time 0.005492/0.02093, allocations: 3.889 MB / 271.6 MB, free: 2.164 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Comparator -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Comparator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/Comparator/Comparator.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.647729381918907]