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.0007774/0.0007774, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001596/0.002374, allocations: 449.7 kB / 10.37 MB, free: 320 kB / 10.45 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.001181/0.001181, allocations: 165.1 kB / 11.26 MB, free: 2.906 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0015/0.00268, allocations: 463.6 kB / 11.72 MB, free: 2.449 MB / 13.93 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.058/1.058, allocations: 177.4 MB / 189.9 MB, free: 4.852 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08691/1.145, allocations: 53.87 MB / 243.8 MB, free: 14.92 MB / 250.7 MB " [Timeout remaining time 179] 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.603e-06/1.603e-06, allocations: 0 / 245 MB, free: 13.63 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.978e-05/2.138e-05, allocations: 9.406 kB / 245.1 MB, free: 13.62 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Comparator): time 0.003353/0.003375, allocations: 2.963 MB / 248 MB, free: 10.64 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001321/0.004695, allocations: 0.7319 MB / 248.8 MB, free: 9.898 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001706/0.004866, allocations: 8 kB / 248.8 MB, free: 9.891 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001233/0.004989, allocations: 55.44 kB / 248.8 MB, free: 9.836 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001699/0.005159, allocations: 99.12 kB / 248.9 MB, free: 9.738 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002064/0.005365, allocations: 99.73 kB / 249 MB, free: 9.641 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003961/0.005762, allocations: 410.2 kB / 249.4 MB, free: 9.238 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001601/0.005922, allocations: 87.12 kB / 249.5 MB, free: 9.152 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002745/0.006196, allocations: 269.3 kB / 249.8 MB, free: 8.887 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001642/0.00636, allocations: 135.6 kB / 249.9 MB, free: 8.754 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.332e-05/0.006404, allocations: 36 kB / 249.9 MB, free: 8.719 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.67e-05/0.00644, allocations: 36 kB / 250 MB, free: 8.684 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.225e-05/0.006493, allocations: 59.81 kB / 250 MB, free: 8.625 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.904e-05/0.006582, allocations: 95.81 kB / 250.1 MB, free: 8.531 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002534/0.006835, allocations: 231.1 kB / 250.3 MB, free: 8.305 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.677e-05/0.006852, allocations: 4 kB / 250.3 MB, free: 8.301 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.006853, allocations: 7.938 kB / 250.4 MB, free: 8.293 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.971e-05/0.006873, allocations: 0 / 250.4 MB, free: 8.293 MB / 250.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.0009456/0.007819, allocations: 0.6232 MB / 251 MB, free: 7.641 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.007854, allocations: 12.62 kB / 251 MB, free: 7.629 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.277e-05/0.007927, allocations: 44.91 kB / 251 MB, free: 7.586 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005301/0.008457, allocations: 202.4 kB / 251.2 MB, free: 7.363 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.008476, allocations: 17.03 kB / 251.2 MB, free: 7.348 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.791e-05/0.008504, allocations: 32.31 kB / 251.3 MB, free: 7.316 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002643/0.008768, allocations: 225 kB / 251.5 MB, free: 7.078 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.008778, allocations: 192 / 251.5 MB, free: 7.078 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.864e-05/0.008797, allocations: 12.38 kB / 251.5 MB, free: 7.066 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.008807, allocations: 11.94 kB / 251.5 MB, free: 7.055 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001027/0.00891, allocations: 68.56 kB / 251.6 MB, free: 6.988 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008912/0.009801, allocations: 0.7444 MB / 252.3 MB, free: 6.191 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001548/0.009956, allocations: 70.53 kB / 252.4 MB, free: 6.113 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.301e-05/0.009989, allocations: 20.86 kB / 252.4 MB, free: 6.09 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.01001, allocations: 0 / 252.4 MB, free: 6.09 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001648/0.01017, allocations: 139.7 kB / 252.6 MB, free: 5.926 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.222e-06/0.01018, allocations: 0 / 252.6 MB, free: 5.926 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002975/0.01047, allocations: 126.4 kB / 252.7 MB, free: 5.793 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/0.01051, allocations: 81.23 kB / 252.8 MB, free: 5.695 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/0.01067, allocations: 276.7 kB / 253 MB, free: 5.41 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.01069, allocations: 25.7 kB / 253.1 MB, free: 5.379 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.507e-05/0.01077, allocations: 208.3 kB / 253.3 MB, free: 5.172 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.435e-05/0.0108, allocations: 39.69 kB / 253.3 MB, free: 5.133 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.037e-05/0.01086, allocations: 57.67 kB / 253.4 MB, free: 5.07 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.657e-05/0.01094, allocations: 338.8 kB / 253.7 MB, free: 4.73 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.844e-05/0.01099, allocations: 49.62 kB / 253.7 MB, free: 4.676 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/0.0111, allocations: 202.8 kB / 253.9 MB, free: 4.41 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000147/0.01124, allocations: 216 kB / 254.1 MB, free: 4.141 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.01125, allocations: 0 / 254.1 MB, free: 4.141 MB / 250.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003122/0.01156, allocations: 253.1 kB / 254.4 MB, free: 3.875 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.516e-05/0.01159, allocations: 41.67 kB / 254.4 MB, free: 3.828 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.0116, allocations: 4 kB / 254.4 MB, free: 3.824 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001868/0.01179, allocations: 44.75 kB / 254.5 MB, free: 3.777 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.01191, allocations: 63.91 kB / 254.5 MB, free: 3.715 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006129/0.01252, allocations: 1.178 MB / 255.7 MB, free: 2.453 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000132/0.01266, allocations: 43.77 kB / 255.8 MB, free: 2.41 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/0.01267, allocations: 11.98 kB / 255.8 MB, free: 2.398 MB / 250.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 8.706e-05/0.01276, allocations: 133.2 kB / 255.9 MB, free: 2.262 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.48e-05/0.01278, allocations: 19.92 kB / 255.9 MB, free: 2.242 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.655e-05/0.01281, allocations: 29.77 kB / 256 MB, free: 2.215 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.01281, allocations: 4 kB / 256 MB, free: 2.211 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.01281, allocations: 0 / 256 MB, free: 2.211 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.01282, allocations: 0 / 256 MB, free: 2.211 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002217/0.01304, allocations: 275.5 kB / 256.2 MB, free: 1.914 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.01304, allocations: 0 / 256.2 MB, free: 1.914 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.615e-05/0.0131, allocations: 27.91 kB / 256.3 MB, free: 1.887 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.311e-05/0.01312, allocations: 23.81 kB / 256.3 MB, free: 1.863 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00011/0.01323, allocations: 36.86 kB / 256.3 MB, free: 1.824 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.01324, allocations: 8 kB / 256.3 MB, free: 1.816 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000509/0.01375, allocations: 1.171 MB / 257.5 MB, free: 0.5625 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.01375, allocations: 0 / 257.5 MB, free: 0.5625 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001284/0.01388, allocations: 134.7 kB / 257.6 MB, free: 416 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.139e-05/0.0139, allocations: 7.984 kB / 257.6 MB, free: 408 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.053e-05/0.01397, allocations: 15.98 kB / 257.6 MB, free: 392 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.625e-05/0.01402, allocations: 19.91 kB / 257.7 MB, free: 372 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.256e-06/0.01402, allocations: 8 kB / 257.7 MB, free: 364 kB / 250.7 MB Notification: Performance of sorting global known variables: time 6.541e-05/0.01409, allocations: 90.77 kB / 257.8 MB, free: 272 kB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01409, allocations: 4.062 kB / 257.8 MB, free: 268 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.000185/0.01428, allocations: 71.89 kB / 257.8 MB, free: 196 kB / 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: 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 9.725e-05/0.01437, allocations: 80.42 kB / 257.9 MB, free: 104 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002941/0.01467, allocations: 316.2 kB / 258.2 MB, free: 15.77 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.002e-05/0.01468, allocations: 8.062 kB / 258.2 MB, free: 15.76 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001097/0.01479, allocations: 167.8 kB / 258.4 MB, free: 15.58 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001725/0.01496, allocations: 65.11 kB / 258.5 MB, free: 15.51 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001346/0.0163, allocations: 490.5 kB / 258.9 MB, free: 15 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.142e-05/0.01635, allocations: 84.31 kB / 259 MB, free: 14.89 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.683e-05/0.01642, allocations: 30.28 kB / 259 MB, free: 14.87 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/0.01653, allocations: 99.34 kB / 259.1 MB, free: 14.77 MB / 266.7 MB Notification: Performance of SimCode: time 7.82e-07/0.01653, allocations: 0 / 259.1 MB, free: 14.77 MB / 266.7 MB Notification: Performance of Templates: time 0.005455/0.02199, allocations: 3.728 MB / 262.9 MB, free: 11.1 MB / 266.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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.pipe 2>&1) [Timeout 240] 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","",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.6078612226992846]