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.001284/0.001284, allocations: 81.31 kB / 21.25 MB, free: 0.5469 MB / 14.72 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.00147/0.00147, allocations: 158.1 kB / 24.5 MB, free: 3.719 MB / 14.72 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.547/1.547, allocations: 177.1 MB / 204.7 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] 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 0.0019/0.0019, allocations: 66.08 kB / 325.6 MB, free: 160 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1266, allocations: 53.38 MB / 378.9 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Comparator): time 0.004617/0.1313, allocations: 2.744 MB / 381.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001422/0.1327, allocations: 0.6895 MB / 382.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001693/0.1328, allocations: 4 kB / 382.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001877/0.133, allocations: 51.44 kB / 382.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002283/0.1333, allocations: 103.1 kB / 382.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002968/0.1336, allocations: 99.81 kB / 382.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004659/0.134, allocations: 386.5 kB / 383 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002195/0.1342, allocations: 100.4 kB / 383.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001957/0.1344, allocations: 151.4 kB / 383.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000232/0.1347, allocations: 159.2 kB / 383.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.193e-05/0.1347, allocations: 36 kB / 383.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.995e-05/0.1348, allocations: 36 kB / 383.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.852e-05/0.1349, allocations: 75.7 kB / 383.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001697/0.1351, allocations: 139.4 kB / 383.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005025/0.1356, allocations: 418.3 kB / 384.1 MB, free: 10.26 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1356, allocations: 0 / 384.1 MB, free: 10.26 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.299e-05/0.1356, allocations: 0 / 384.1 MB, free: 10.26 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.377e-05/0.1356, allocations: 4 kB / 384.1 MB, free: 10.25 MB / 350.1 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.001352/0.1369, allocations: 0.6053 MB / 384.7 MB, free: 9.605 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.137, allocations: 8.031 kB / 384.7 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.613e-05/0.1371, allocations: 36.75 kB / 384.8 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004743/0.1375, allocations: 243 kB / 385 MB, free: 9.297 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.386e-05/0.1376, allocations: 21.03 kB / 385 MB, free: 9.277 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.865e-05/0.1376, allocations: 24.38 kB / 385 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006531/0.1383, allocations: 312 kB / 385.3 MB, free: 8.938 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.1383, allocations: 3.984 kB / 385.3 MB, free: 8.934 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.855e-05/0.1383, allocations: 8 kB / 385.4 MB, free: 8.926 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.1383, allocations: 15.94 kB / 385.4 MB, free: 8.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006838/0.139, allocations: 250.5 kB / 385.6 MB, free: 8.664 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001781/0.1408, allocations: 0.8907 MB / 386.5 MB, free: 7.707 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006342/0.1414, allocations: 170.5 kB / 386.7 MB, free: 7.531 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002535/0.1417, allocations: 76.8 kB / 386.7 MB, free: 7.453 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.61e-05/0.1417, allocations: 224 / 386.7 MB, free: 7.453 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004164/0.1421, allocations: 187 kB / 386.9 MB, free: 7.246 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.232e-06/0.1421, allocations: 0 / 386.9 MB, free: 7.246 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001121/0.1432, allocations: 298.2 kB / 387.2 MB, free: 6.945 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.442e-05/0.1433, allocations: 114.8 kB / 387.3 MB, free: 6.809 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003804/0.1437, allocations: 293.7 kB / 387.6 MB, free: 6.516 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.017e-05/0.1437, allocations: 29.7 kB / 387.6 MB, free: 6.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001774/0.1439, allocations: 227.8 kB / 387.9 MB, free: 6.254 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.008e-05/0.144, allocations: 39.72 kB / 387.9 MB, free: 6.215 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.1441, allocations: 61.69 kB / 388 MB, free: 6.148 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001827/0.1442, allocations: 334.8 kB / 388.3 MB, free: 5.812 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003178/0.1446, allocations: 113.6 kB / 388.4 MB, free: 5.695 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004268/0.145, allocations: 258.7 kB / 388.7 MB, free: 5.375 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006701/0.1457, allocations: 316 kB / 389 MB, free: 5.008 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.69e-06/0.1457, allocations: 4 kB / 389 MB, free: 5.004 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0009308/0.1466, allocations: 413.1 kB / 389.4 MB, free: 4.578 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.503e-05/0.1466, allocations: 33.69 kB / 389.4 MB, free: 4.539 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.1466, allocations: 4.5 kB / 389.4 MB, free: 4.535 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001914/0.1468, allocations: 36.84 kB / 389.4 MB, free: 4.496 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002669/0.1471, allocations: 63.89 kB / 389.5 MB, free: 4.434 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001284/0.1484, allocations: 1.264 MB / 390.8 MB, free: 3.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003414/0.1487, allocations: 51.91 kB / 390.8 MB, free: 3.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.382e-05/0.1488, allocations: 16 kB / 390.8 MB, free: 3.004 MB / 350.1 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 0.0001805/0.1489, allocations: 153.6 kB / 391 MB, free: 2.844 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.495e-05/0.149, allocations: 23.86 kB / 391 MB, free: 2.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.106e-05/0.1491, allocations: 29.77 kB / 391 MB, free: 2.789 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1491, allocations: 0 / 391 MB, free: 2.789 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.1491, allocations: 4 kB / 391 MB, free: 2.785 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.1491, allocations: 4 kB / 391.1 MB, free: 2.781 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004531/0.1495, allocations: 366.8 kB / 391.4 MB, free: 2.383 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1495, allocations: 0 / 391.4 MB, free: 2.383 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001506/0.1497, allocations: 23.97 kB / 391.4 MB, free: 2.359 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000105/0.1498, allocations: 32.77 kB / 391.5 MB, free: 2.324 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.545e-05/0.1498, allocations: 4 kB / 391.5 MB, free: 2.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001083/0.1509, allocations: 1.264 MB / 392.7 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.1509, allocations: 7.969 kB / 392.7 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006672/0.1515, allocations: 238.5 kB / 393 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.23e-05/0.1516, allocations: 35.94 kB / 393 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.651e-05/0.1516, allocations: 8 kB / 393 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002187/0.1518, allocations: 19.97 kB / 393 MB, free: 0.625 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.091e-05/0.1519, allocations: 27.89 kB / 393.1 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.586e-05/0.1519, allocations: 11.94 kB / 393.1 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002262/0.1522, allocations: 197.2 kB / 393.3 MB, free: 400 kB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1522, allocations: 0 / 393.3 MB, free: 400 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003601/0.1525, allocations: 75.84 kB / 393.3 MB, free: 324 kB / 350.1 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 0.0001454/0.1527, allocations: 107.6 kB / 393.4 MB, free: 204 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009587/0.1536, allocations: 415.1 kB / 393.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.1536, allocations: 4.062 kB / 393.9 MB, free: 15.76 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004338/0.1541, allocations: 202.5 kB / 394.1 MB, free: 15.55 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003415/0.1544, allocations: 55.97 kB / 394.1 MB, free: 15.5 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/0.1555, allocations: 497.1 kB / 394.6 MB, free: 14.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001456/0.1556, allocations: 155.4 kB / 394.7 MB, free: 14.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001232/0.1558, allocations: 30.28 kB / 394.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.931e-05/0.1558, allocations: 24.5 kB / 394.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1558, allocations: 0 / 394.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of Templates: time 0.007896/0.1637, allocations: 3.474 MB / 398.3 MB, free: 11.34 MB / 366.1 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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Comparator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Comparator/Comparator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.574140987941064]