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.0008061/0.0008061, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001288/0.002094, allocations: 457.8 kB / 10.45 MB, free: 244 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.0007591/0.0007591, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001051/0.00181, allocations: 475.6 kB / 11.82 MB, free: 2.348 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.097/1.097, allocations: 177.5 MB / 190 MB, free: 4.777 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09098/1.188, allocations: 53.88 MB / 243.9 MB, free: 14.83 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.523e-06/1.523e-06, allocations: 0 / 245.2 MB, free: 13.51 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.52e-05/1.672e-05, allocations: 2.312 kB / 245.2 MB, free: 13.51 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Comparator): time 0.003968/0.003985, allocations: 2.959 MB / 248.2 MB, free: 10.53 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00126/0.005245, allocations: 0.7321 MB / 248.9 MB, free: 9.789 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001584/0.005403, allocations: 7.938 kB / 248.9 MB, free: 9.781 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001171/0.00552, allocations: 51.44 kB / 249 MB, free: 9.73 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002056/0.005726, allocations: 115 kB / 249.1 MB, free: 9.617 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002019/0.005928, allocations: 95.81 kB / 249.2 MB, free: 9.523 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003972/0.006325, allocations: 398.2 kB / 249.6 MB, free: 9.133 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001528/0.006478, allocations: 99.11 kB / 249.7 MB, free: 9.035 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002931/0.006771, allocations: 265.3 kB / 249.9 MB, free: 8.773 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001515/0.006922, allocations: 135.5 kB / 250.1 MB, free: 8.641 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.417e-05/0.006966, allocations: 40 kB / 250.1 MB, free: 8.602 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.187e-05/0.007008, allocations: 36 kB / 250.2 MB, free: 8.566 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.395e-05/0.007052, allocations: 59.8 kB / 250.2 MB, free: 8.508 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.747e-05/0.00713, allocations: 99.8 kB / 250.3 MB, free: 8.41 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002202/0.00735, allocations: 223.2 kB / 250.5 MB, free: 8.191 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.796e-06/0.007359, allocations: 0 / 250.5 MB, free: 8.191 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.00736, allocations: 0 / 250.5 MB, free: 8.191 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.035e-05/0.00737, allocations: 4 kB / 250.5 MB, free: 8.188 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.0007223/0.008092, allocations: 0.6387 MB / 251.2 MB, free: 7.52 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.876e-05/0.008121, allocations: 8.625 kB / 251.2 MB, free: 7.512 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.996e-05/0.008191, allocations: 48.89 kB / 251.2 MB, free: 7.465 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002143/0.008405, allocations: 194.3 kB / 251.4 MB, free: 7.246 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.008424, allocations: 21.03 kB / 251.4 MB, free: 7.227 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.888e-05/0.008453, allocations: 24.38 kB / 251.5 MB, free: 7.203 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002616/0.008714, allocations: 229 kB / 251.7 MB, free: 6.961 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.008725, allocations: 192 / 251.7 MB, free: 6.961 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.00874, allocations: 8.375 kB / 251.7 MB, free: 6.953 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.00875, allocations: 11.94 kB / 251.7 MB, free: 6.941 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/0.008852, allocations: 80.48 kB / 251.8 MB, free: 6.867 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008048/0.009657, allocations: 0.7366 MB / 252.5 MB, free: 6.074 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001595/0.009817, allocations: 78.52 kB / 252.6 MB, free: 5.988 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.418e-05/0.009851, allocations: 24.84 kB / 252.6 MB, free: 5.961 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.678e-05/0.009868, allocations: 4 kB / 252.6 MB, free: 5.957 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001445/0.01001, allocations: 127.6 kB / 252.7 MB, free: 5.805 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 9.41e-07/0.01001, allocations: 0 / 252.7 MB, free: 5.805 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002596/0.01027, allocations: 138.4 kB / 252.9 MB, free: 5.66 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.477e-05/0.01031, allocations: 81.11 kB / 253 MB, free: 5.562 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001475/0.01045, allocations: 272.9 kB / 253.2 MB, free: 5.285 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.01047, allocations: 33.7 kB / 253.3 MB, free: 5.246 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.524e-05/0.01055, allocations: 200.3 kB / 253.5 MB, free: 5.047 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.621e-05/0.01057, allocations: 43.67 kB / 253.5 MB, free: 5.004 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.78e-05/0.01063, allocations: 53.67 kB / 253.6 MB, free: 4.945 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.237e-05/0.0107, allocations: 338.8 kB / 253.9 MB, free: 4.605 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.289e-05/0.01076, allocations: 49.69 kB / 253.9 MB, free: 4.551 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.733e-05/0.01085, allocations: 198.7 kB / 254.1 MB, free: 4.289 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001483/0.011, allocations: 235.3 kB / 254.4 MB, free: 4.004 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.01101, allocations: 0 / 254.4 MB, free: 4.004 MB / 250.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002263/0.01123, allocations: 249.8 kB / 254.6 MB, free: 3.738 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.49e-05/0.01127, allocations: 37.7 kB / 254.6 MB, free: 3.695 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.01127, allocations: 8.031 kB / 254.6 MB, free: 3.688 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001756/0.01145, allocations: 40.77 kB / 254.7 MB, free: 3.645 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.01157, allocations: 63.89 kB / 254.7 MB, free: 3.582 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006021/0.01217, allocations: 1.174 MB / 255.9 MB, free: 2.324 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001396/0.01231, allocations: 43.77 kB / 256 MB, free: 2.281 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.414e-05/0.01232, allocations: 12 kB / 256 MB, free: 2.27 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.759e-05/0.01241, allocations: 125.8 kB / 256.1 MB, free: 2.137 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.591e-05/0.01244, allocations: 32.03 kB / 256.1 MB, free: 2.105 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.579e-05/0.01246, allocations: 29.77 kB / 256.2 MB, free: 2.078 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.01246, allocations: 4 kB / 256.2 MB, free: 2.074 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.01247, allocations: 3.938 kB / 256.2 MB, free: 2.07 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.01247, allocations: 0 / 256.2 MB, free: 2.07 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002251/0.0127, allocations: 263.4 kB / 256.4 MB, free: 1.785 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.0127, allocations: 0 / 256.4 MB, free: 1.785 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.855e-05/0.01276, allocations: 19.98 kB / 256.4 MB, free: 1.766 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.904e-05/0.01278, allocations: 35.78 kB / 256.5 MB, free: 1.73 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001267/0.01291, allocations: 44.84 kB / 256.5 MB, free: 1.684 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.01292, allocations: 11.94 kB / 256.5 MB, free: 1.672 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005458/0.01347, allocations: 1.16 MB / 257.7 MB, free: 440 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.01347, allocations: 3.938 kB / 257.7 MB, free: 436 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001379/0.01361, allocations: 130.7 kB / 257.8 MB, free: 280 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/0.01363, allocations: 0 / 257.8 MB, free: 280 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.782e-05/0.0137, allocations: 19.98 kB / 257.8 MB, free: 260 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.536e-05/0.01375, allocations: 23.89 kB / 257.9 MB, free: 236 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.01376, allocations: 4 kB / 257.9 MB, free: 232 kB / 250.7 MB Notification: Performance of sorting global known variables: time 6.583e-05/0.01382, allocations: 94.7 kB / 258 MB, free: 136 kB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01382, allocations: 0 / 258 MB, free: 136 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001919/0.01401, allocations: 79.95 kB / 258 MB, free: 56 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 8.491e-05/0.0141, allocations: 80.3 kB / 258.1 MB, free: 15.97 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002699/0.01437, allocations: 312.5 kB / 258.4 MB, free: 15.63 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.02e-05/0.01438, allocations: 4.469 kB / 258.4 MB, free: 15.63 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000125/0.0145, allocations: 175.3 kB / 258.6 MB, free: 15.44 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002663/0.01477, allocations: 416.5 kB / 259 MB, free: 14.96 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001325/0.0161, allocations: 489.9 kB / 259.5 MB, free: 14.45 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.29e-05/0.01614, allocations: 84.31 kB / 259.6 MB, free: 14.34 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.37e-05/0.01621, allocations: 26.3 kB / 259.6 MB, free: 14.32 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000112/0.01632, allocations: 103.3 kB / 259.7 MB, free: 14.22 MB / 266.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01633, allocations: 0 / 259.7 MB, free: 14.22 MB / 266.7 MB Notification: Performance of Templates: time 0.0051/0.02143, allocations: 3.656 MB / 263.4 MB, free: 10.62 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5757359517738223]