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.001056/0.001056, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.0007995/0.0007995, allocations: 158.6 kB / 25.45 MB, free: 9.344 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.8436/0.8436, allocations: 158.6 MB / 187.2 MB, free: 3.039 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.183e-06/1.183e-06, allocations: 0 / 299.7 MB, free: 6.895 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.542e-05/1.66e-05, allocations: 2.281 kB / 299.7 MB, free: 6.891 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Comparator): time 0.002478/0.002494, allocations: 2.657 MB / 302.4 MB, free: 4.211 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000871/0.003365, allocations: 0.7136 MB / 303.1 MB, free: 3.488 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.003475, allocations: 8 kB / 303.1 MB, free: 3.48 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000127/0.003602, allocations: 59.44 kB / 303.2 MB, free: 3.422 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001302/0.003732, allocations: 95.19 kB / 303.3 MB, free: 3.328 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004541/0.004186, allocations: 115.7 kB / 303.4 MB, free: 3.215 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000285/0.004471, allocations: 406.2 kB / 303.8 MB, free: 2.816 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001538/0.004625, allocations: 96.41 kB / 303.9 MB, free: 2.727 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001661/0.004791, allocations: 227.4 kB / 304.1 MB, free: 2.504 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001228/0.004914, allocations: 127.6 kB / 304.2 MB, free: 2.379 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.117e-05/0.004955, allocations: 36 kB / 304.2 MB, free: 2.344 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.106e-05/0.004986, allocations: 40 kB / 304.3 MB, free: 2.305 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.677e-05/0.005033, allocations: 79.72 kB / 304.4 MB, free: 2.227 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.437e-05/0.005117, allocations: 119.7 kB / 304.5 MB, free: 2.109 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002856/0.005403, allocations: 410.7 kB / 304.9 MB, free: 1.707 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.005405, allocations: 0 / 304.9 MB, free: 1.707 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.005405, allocations: 3.938 kB / 304.9 MB, free: 1.703 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.00541, allocations: 0 / 304.9 MB, free: 1.703 MB / 282.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.0008031/0.006213, allocations: 0.613 MB / 305.5 MB, free: 1.051 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.006245, allocations: 16.02 kB / 305.5 MB, free: 1.035 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.316e-05/0.006299, allocations: 40.73 kB / 305.5 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002546/0.006553, allocations: 233.1 kB / 305.8 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.006569, allocations: 20.88 kB / 305.8 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.706e-05/0.006597, allocations: 24.38 kB / 305.8 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003714/0.006968, allocations: 284.5 kB / 306.1 MB, free: 424 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.006978, allocations: 192 / 306.1 MB, free: 424 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.878e-05/0.006997, allocations: 16.38 kB / 306.1 MB, free: 408 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.007005, allocations: 7.938 kB / 306.1 MB, free: 400 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000423/0.007428, allocations: 281.8 kB / 306.4 MB, free: 120 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009683/0.008396, allocations: 0.8783 MB / 307.3 MB, free: 15.17 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003852/0.008781, allocations: 194.5 kB / 307.5 MB, free: 14.97 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001338/0.008915, allocations: 80.78 kB / 307.5 MB, free: 14.89 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/0.008932, allocations: 4 kB / 307.5 MB, free: 14.89 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000235/0.009167, allocations: 164.9 kB / 307.7 MB, free: 14.71 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.112e-06/0.009168, allocations: 0 / 307.7 MB, free: 14.71 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.000623/0.009791, allocations: 310.2 kB / 308 MB, free: 14.39 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.851e-05/0.00983, allocations: 85.09 kB / 308.1 MB, free: 14.29 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000192/0.01002, allocations: 289.7 kB / 308.4 MB, free: 14 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.01004, allocations: 33.7 kB / 308.4 MB, free: 13.96 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.55e-05/0.01013, allocations: 203.9 kB / 308.6 MB, free: 13.76 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.239e-05/0.01016, allocations: 39.69 kB / 308.6 MB, free: 13.72 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.894e-05/0.01022, allocations: 53.95 kB / 308.7 MB, free: 13.66 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.064e-05/0.0103, allocations: 338.8 kB / 309 MB, free: 13.32 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001961/0.01049, allocations: 127.1 kB / 309.2 MB, free: 13.19 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002013/0.01069, allocations: 223.8 kB / 309.4 MB, free: 12.92 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003514/0.01104, allocations: 323.1 kB / 309.7 MB, free: 12.55 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.01105, allocations: 0 / 309.7 MB, free: 12.55 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004779/0.01153, allocations: 413.6 kB / 310.1 MB, free: 12.12 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.748e-05/0.01155, allocations: 38.17 kB / 310.1 MB, free: 12.08 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.01156, allocations: 7.984 kB / 310.1 MB, free: 12.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001226/0.01168, allocations: 36.78 kB / 310.2 MB, free: 12.03 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.01181, allocations: 59.83 kB / 310.2 MB, free: 11.97 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007229/0.01253, allocations: 1.28 MB / 311.5 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001436/0.01267, allocations: 43.81 kB / 311.6 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.509e-05/0.01269, allocations: 8 kB / 311.6 MB, free: 10.54 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000196/0.01288, allocations: 222 kB / 311.8 MB, free: 10.31 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001752/0.01306, allocations: 211.8 kB / 312 MB, free: 10.05 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002896/0.01335, allocations: 299.3 kB / 312.3 MB, free: 9.699 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.884e-06/0.01335, allocations: 4 kB / 312.3 MB, free: 9.695 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0004061/0.01376, allocations: 393.3 kB / 312.7 MB, free: 9.289 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.01377, allocations: 33.7 kB / 312.7 MB, free: 9.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.476e-06/0.01378, allocations: 8.406 kB / 312.7 MB, free: 9.242 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.182e-05/0.01384, allocations: 32.84 kB / 312.7 MB, free: 9.207 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.993e-05/0.01394, allocations: 55.89 kB / 312.8 MB, free: 9.152 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005243/0.01446, allocations: 1.272 MB / 314.1 MB, free: 7.781 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001248/0.01459, allocations: 40.03 kB / 314.1 MB, free: 7.742 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.0146, allocations: 19.98 kB / 314.1 MB, free: 7.723 MB / 298.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 7.758e-05/0.01468, allocations: 188.2 kB / 314.3 MB, free: 7.531 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.006e-05/0.0147, allocations: 23.86 kB / 314.3 MB, free: 7.508 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.696e-05/0.01473, allocations: 29.77 kB / 314.4 MB, free: 7.48 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.01473, allocations: 3.938 kB / 314.4 MB, free: 7.477 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.01473, allocations: 0 / 314.4 MB, free: 7.477 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.01474, allocations: 4 kB / 314.4 MB, free: 7.473 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002472/0.01498, allocations: 355 kB / 314.7 MB, free: 7.086 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.01498, allocations: 0 / 314.7 MB, free: 7.086 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.052e-05/0.01505, allocations: 35.91 kB / 314.8 MB, free: 7.051 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.72e-05/0.01511, allocations: 28.78 kB / 314.8 MB, free: 7.02 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.01512, allocations: 3.984 kB / 314.8 MB, free: 7.016 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005163/0.01564, allocations: 1.268 MB / 316.1 MB, free: 5.641 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.01564, allocations: 0 / 316.1 MB, free: 5.641 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003309/0.01597, allocations: 254.6 kB / 316.3 MB, free: 5.367 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.574e-05/0.01599, allocations: 27.84 kB / 316.3 MB, free: 5.34 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.01601, allocations: 11.94 kB / 316.3 MB, free: 5.328 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.78e-05/0.0161, allocations: 19.97 kB / 316.4 MB, free: 5.309 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.12e-05/0.01615, allocations: 19.91 kB / 316.4 MB, free: 5.289 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.01616, allocations: 4 kB / 316.4 MB, free: 5.285 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001242/0.01628, allocations: 197.2 kB / 316.6 MB, free: 5.094 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01628, allocations: 4 kB / 316.6 MB, free: 5.09 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000304/0.01659, allocations: 131.7 kB / 316.7 MB, free: 4.961 MB / 298.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.516e-05/0.01667, allocations: 111.1 kB / 316.8 MB, free: 4.844 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009852/0.01766, allocations: 0.7273 MB / 317.5 MB, free: 4.055 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.01766, allocations: 0 / 317.5 MB, free: 4.055 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001977/0.01786, allocations: 202.7 kB / 317.7 MB, free: 3.844 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002052/0.01806, allocations: 51.78 kB / 317.8 MB, free: 3.793 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005791/0.01864, allocations: 489.7 kB / 318.3 MB, free: 3.277 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.786e-05/0.01872, allocations: 143.2 kB / 318.4 MB, free: 3.117 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.569e-05/0.01878, allocations: 36.48 kB / 318.4 MB, free: 3.082 MB / 298.7 MB Notification: Performance of SimCode: time 3.71e-07/0.01878, allocations: 0 / 318.4 MB, free: 3.082 MB / 298.7 MB Notification: Performance of Templates: time 0.004001/0.02278, allocations: 4.629 MB / 323.1 MB, free: 14.45 MB / 314.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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.379025571979582]