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.001027/0.001027, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.001016/0.001016, allocations: 165 kB / 24.91 MB, free: 9.18 MB / 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 0.9576/0.9576, allocations: 177 MB / 205.2 MB, free: 5.469 MB / 186.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.363e-06/1.363e-06, allocations: 0 / 273.5 MB, free: 1.148 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.253e-05/1.39e-05, allocations: 2.312 kB / 273.5 MB, free: 1.145 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Comparator): time 0.002958/0.002972, allocations: 2.931 MB / 276.4 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001076/0.004047, allocations: 0.7319 MB / 277.1 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001173/0.004164, allocations: 7.938 kB / 277.1 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00011/0.004274, allocations: 51.44 kB / 277.2 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001503/0.004425, allocations: 107.1 kB / 277.3 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001808/0.004606, allocations: 107.7 kB / 277.4 MB, free: 13.19 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002863/0.004892, allocations: 406.2 kB / 277.8 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.005021, allocations: 95.06 kB / 277.9 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001842/0.005205, allocations: 227.5 kB / 278.1 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001392/0.005344, allocations: 131.6 kB / 278.2 MB, free: 12.35 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.604e-05/0.00538, allocations: 36 kB / 278.3 MB, free: 12.31 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.486e-05/0.005415, allocations: 36 kB / 278.3 MB, free: 12.28 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.824e-05/0.005463, allocations: 87.59 kB / 278.4 MB, free: 12.19 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.947e-05/0.005543, allocations: 123.7 kB / 278.5 MB, free: 12.07 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002117/0.005754, allocations: 251.1 kB / 278.8 MB, free: 11.82 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.343e-06/0.005756, allocations: 4 kB / 278.8 MB, free: 11.82 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.005756, allocations: 0 / 278.8 MB, free: 11.82 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.226e-06/0.00576, allocations: 0 / 278.8 MB, free: 11.82 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.0005772/0.006337, allocations: 0.5688 MB / 279.3 MB, free: 11.22 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.549e-05/0.006362, allocations: 12.03 kB / 279.4 MB, free: 11.21 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.097e-05/0.006423, allocations: 48.89 kB / 279.4 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001876/0.006611, allocations: 198.1 kB / 279.6 MB, free: 10.94 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.006627, allocations: 24.97 kB / 279.6 MB, free: 10.92 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.362e-05/0.00665, allocations: 24.38 kB / 279.6 MB, free: 10.89 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002155/0.006866, allocations: 229 kB / 279.9 MB, free: 10.65 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.006874, allocations: 192 / 279.9 MB, free: 10.65 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.00689, allocations: 16.3 kB / 279.9 MB, free: 10.64 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.006898, allocations: 15.94 kB / 279.9 MB, free: 10.62 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.949e-05/0.006987, allocations: 64.56 kB / 280 MB, free: 10.56 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007464/0.007734, allocations: 0.7405 MB / 280.7 MB, free: 9.766 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000121/0.007855, allocations: 62.53 kB / 280.8 MB, free: 9.695 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.008e-05/0.007885, allocations: 24.84 kB / 280.8 MB, free: 9.668 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.281e-05/0.007897, allocations: 7.938 kB / 280.8 MB, free: 9.66 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001157/0.008013, allocations: 135.6 kB / 280.9 MB, free: 9.5 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.102e-06/0.008014, allocations: 0 / 280.9 MB, free: 9.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.00023/0.008244, allocations: 122.5 kB / 281 MB, free: 9.371 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/0.008288, allocations: 115 kB / 281.2 MB, free: 9.234 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.008435, allocations: 272.7 kB / 281.4 MB, free: 8.953 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.00845, allocations: 33.64 kB / 281.5 MB, free: 8.914 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.457e-05/0.008525, allocations: 204.3 kB / 281.7 MB, free: 8.711 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.345e-05/0.008548, allocations: 43.67 kB / 281.7 MB, free: 8.668 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.458e-05/0.008603, allocations: 57.61 kB / 281.8 MB, free: 8.605 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.606e-05/0.008679, allocations: 334.8 kB / 282.1 MB, free: 8.27 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.319e-05/0.008722, allocations: 53.69 kB / 282.1 MB, free: 8.211 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.359e-05/0.008815, allocations: 194.8 kB / 282.3 MB, free: 7.953 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/0.008949, allocations: 212 kB / 282.5 MB, free: 7.688 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.00895, allocations: 0 / 282.5 MB, free: 7.688 MB / 266.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002008/0.009151, allocations: 249.8 kB / 282.8 MB, free: 7.422 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.009173, allocations: 37.69 kB / 282.8 MB, free: 7.379 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.009179, allocations: 4 kB / 282.8 MB, free: 7.375 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001534/0.009332, allocations: 44.75 kB / 282.9 MB, free: 7.328 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.009437, allocations: 59.91 kB / 282.9 MB, free: 7.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005289/0.009966, allocations: 1.178 MB / 284.1 MB, free: 6.004 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001174/0.01008, allocations: 43.77 kB / 284.1 MB, free: 5.961 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.518e-05/0.0101, allocations: 12 kB / 284.2 MB, free: 5.949 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 7.606e-05/0.01017, allocations: 133.9 kB / 284.3 MB, free: 5.809 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.532e-05/0.0102, allocations: 19.92 kB / 284.3 MB, free: 5.789 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.572e-05/0.01023, allocations: 29.77 kB / 284.3 MB, free: 5.758 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.01023, allocations: 4 kB / 284.3 MB, free: 5.754 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.01023, allocations: 0 / 284.3 MB, free: 5.754 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.01023, allocations: 0 / 284.3 MB, free: 5.754 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001867/0.01042, allocations: 267.4 kB / 284.6 MB, free: 5.465 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.01042, allocations: 0 / 284.6 MB, free: 5.465 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.65e-05/0.01047, allocations: 23.98 kB / 284.6 MB, free: 5.441 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.615e-05/0.01056, allocations: 40.84 kB / 284.7 MB, free: 5.398 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.403e-06/0.01057, allocations: 4 kB / 284.7 MB, free: 5.395 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004502/0.01102, allocations: 1.178 MB / 285.8 MB, free: 4.133 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.01102, allocations: 0 / 285.8 MB, free: 4.133 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001164/0.01114, allocations: 138.6 kB / 286 MB, free: 3.973 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.57e-05/0.01116, allocations: 15.86 kB / 286 MB, free: 3.957 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.01118, allocations: 4 kB / 286 MB, free: 3.953 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.877e-05/0.01125, allocations: 19.97 kB / 286 MB, free: 3.934 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.111e-05/0.01129, allocations: 23.91 kB / 286 MB, free: 3.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-06/0.0113, allocations: 0 / 286 MB, free: 3.91 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.998e-05/0.01136, allocations: 94.83 kB / 286.1 MB, free: 3.82 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01136, allocations: 0 / 286.1 MB, free: 3.82 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001738/0.01153, allocations: 79.83 kB / 286.2 MB, free: 3.742 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 6.164e-05/0.01159, allocations: 80.86 kB / 286.3 MB, free: 3.652 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002507/0.01184, allocations: 319.4 kB / 286.6 MB, free: 3.312 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/0.01185, allocations: 8.062 kB / 286.6 MB, free: 3.305 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.01195, allocations: 163.3 kB / 286.8 MB, free: 3.129 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001293/0.01208, allocations: 48.22 kB / 286.8 MB, free: 3.086 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005883/0.01267, allocations: 470 kB / 287.3 MB, free: 2.598 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.72e-05/0.01271, allocations: 80.31 kB / 287.4 MB, free: 2.5 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.9e-05/0.01278, allocations: 30.3 kB / 287.4 MB, free: 2.469 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/0.01288, allocations: 107.3 kB / 287.5 MB, free: 2.363 MB / 266.7 MB Notification: Performance of SimCode: time 8.21e-07/0.01288, allocations: 0 / 287.5 MB, free: 2.363 MB / 266.7 MB Notification: Performance of Templates: time 0.004758/0.01764, allocations: 3.606 MB / 291.1 MB, free: 14.81 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=240 -s gbode -gbm=radauIIA3 -emit_protected -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.677061514928937]