Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 74.5 kB / 21.24 MB, free: 0.5547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 147.4 kB / 24.49 MB, free: 3.727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 173.4 MB / 201.1 MB, free: 12.69 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Comparator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00162/0.00162, allocations: 47.55 kB / 319.4 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09381/0.09543, allocations: 52.16 MB / 371.6 MB, free: 7.336 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Comparator): time 0.004548/0.09998, allocations: 2.693 MB / 374.3 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001462/0.1014, allocations: 0.6856 MB / 375 MB, free: 3.938 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002257/0.1017, allocations: 7.938 kB / 375 MB, free: 3.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000193/0.1019, allocations: 55.5 kB / 375 MB, free: 3.875 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002598/0.1021, allocations: 99.19 kB / 375.1 MB, free: 3.777 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003296/0.1025, allocations: 107.8 kB / 375.2 MB, free: 3.672 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000492/0.1029, allocations: 390.5 kB / 375.6 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000234/0.1032, allocations: 92.44 kB / 375.7 MB, free: 3.199 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002157/0.1034, allocations: 151.4 kB / 375.9 MB, free: 3.051 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002581/0.1037, allocations: 155.2 kB / 376 MB, free: 2.898 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.876e-05/0.1037, allocations: 44 kB / 376.1 MB, free: 2.855 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.14e-05/0.1038, allocations: 36 kB / 376.1 MB, free: 2.82 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.004e-05/0.1039, allocations: 75.7 kB / 376.2 MB, free: 2.746 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001644/0.104, allocations: 135.4 kB / 376.3 MB, free: 2.613 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004848/0.1045, allocations: 398.4 kB / 376.7 MB, free: 2.223 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.1045, allocations: 0 / 376.7 MB, free: 2.223 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1045, allocations: 0 / 376.7 MB, free: 2.223 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.434e-05/0.1045, allocations: 0 / 376.7 MB, free: 2.223 MB / 334.1 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.001418/0.106, allocations: 0.613 MB / 377.3 MB, free: 1.57 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.106, allocations: 12.92 kB / 377.3 MB, free: 1.559 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.107e-05/0.1061, allocations: 40.69 kB / 377.4 MB, free: 1.52 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004347/0.1065, allocations: 241.9 kB / 377.6 MB, free: 1.258 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.586e-05/0.1065, allocations: 20.88 kB / 377.6 MB, free: 1.234 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.656e-05/0.1066, allocations: 24.38 kB / 377.6 MB, free: 1.211 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007286/0.1073, allocations: 323 kB / 377.9 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.1073, allocations: 0 / 377.9 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.834e-05/0.1074, allocations: 8 kB / 378 MB, free: 0.875 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.1074, allocations: 12 kB / 378 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008226/0.1082, allocations: 269.8 kB / 378.2 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001783/0.11, allocations: 0.9721 MB / 379.2 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008111/0.1108, allocations: 194.6 kB / 379.4 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003232/0.1111, allocations: 92.78 kB / 379.5 MB, free: 15.26 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.51e-05/0.1111, allocations: 4 kB / 379.5 MB, free: 15.26 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004429/0.1116, allocations: 161.1 kB / 379.6 MB, free: 15.08 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.392e-06/0.1116, allocations: 0 / 379.6 MB, free: 15.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.001289/0.1129, allocations: 338.1 kB / 380 MB, free: 14.74 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.051e-05/0.1129, allocations: 81.11 kB / 380.1 MB, free: 14.64 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003469/0.1133, allocations: 285.8 kB / 380.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.308e-05/0.1133, allocations: 33.7 kB / 380.4 MB, free: 14.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000174/0.1135, allocations: 211.9 kB / 380.6 MB, free: 14.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.234e-05/0.1135, allocations: 39.73 kB / 380.6 MB, free: 14.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.1136, allocations: 49.89 kB / 380.7 MB, free: 14.01 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002509/0.1139, allocations: 334.8 kB / 381 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000391/0.1143, allocations: 137.8 kB / 381.1 MB, free: 13.54 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004806/0.1148, allocations: 240.6 kB / 381.4 MB, free: 13.24 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007962/0.1156, allocations: 332 kB / 381.7 MB, free: 12.86 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.1156, allocations: 0 / 381.7 MB, free: 12.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00107/0.1166, allocations: 429.5 kB / 382.1 MB, free: 12.42 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.386e-05/0.1167, allocations: 33.7 kB / 382.1 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/0.1167, allocations: 7.984 kB / 382.1 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001979/0.1169, allocations: 28.84 kB / 382.2 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002877/0.1172, allocations: 64.05 kB / 382.2 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001263/0.1184, allocations: 1.28 MB / 383.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003496/0.1188, allocations: 47.81 kB / 383.6 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.647e-05/0.1188, allocations: 8.156 kB / 383.6 MB, free: 10.84 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: 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 0.0001737/0.119, allocations: 157.6 kB / 383.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.14e-05/0.119, allocations: 23.86 kB / 383.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.719e-05/0.1191, allocations: 29.77 kB / 383.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.1191, allocations: 0 / 383.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.1191, allocations: 0 / 383.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.1191, allocations: 0 / 383.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004497/0.1195, allocations: 358.9 kB / 384.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1195, allocations: 384 / 384.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001851/0.1197, allocations: 39.94 kB / 384.2 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001006/0.1198, allocations: 20.84 kB / 384.2 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.797e-05/0.1198, allocations: 7.984 kB / 384.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001072/0.1209, allocations: 1.272 MB / 385.5 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1209, allocations: 0 / 385.5 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000775/0.1217, allocations: 270.5 kB / 385.7 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.521e-05/0.1217, allocations: 27.88 kB / 385.8 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.724e-05/0.1218, allocations: 11.98 kB / 385.8 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002273/0.122, allocations: 23.91 kB / 385.8 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.483e-05/0.1221, allocations: 19.97 kB / 385.8 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/0.1221, allocations: 8 kB / 385.8 MB, free: 8.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002185/0.1223, allocations: 197.2 kB / 386 MB, free: 8.219 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1223, allocations: 0 / 386 MB, free: 8.219 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003678/0.1227, allocations: 75.84 kB / 386.1 MB, free: 8.145 MB / 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: 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 (9): * Single equations (assignments): 6 * 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.000127/0.1228, allocations: 107.2 kB / 386.2 MB, free: 8.027 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001052/0.1239, allocations: 427.7 kB / 386.6 MB, free: 7.578 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1239, allocations: 0 / 386.6 MB, free: 7.578 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005021/0.1244, allocations: 211.3 kB / 386.8 MB, free: 7.359 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003132/0.1247, allocations: 46.98 kB / 386.9 MB, free: 7.316 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.1257, allocations: 492.7 kB / 387.3 MB, free: 6.809 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001464/0.1259, allocations: 150.9 kB / 387.5 MB, free: 6.645 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001186/0.126, allocations: 34.28 kB / 387.5 MB, free: 6.609 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.091e-05/0.1261, allocations: 24.5 kB / 387.5 MB, free: 6.582 MB / 350.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1261, allocations: 3.938 kB / 387.5 MB, free: 6.578 MB / 350.1 MB Notification: Performance of Templates: time 0.007481/0.1336, allocations: 3.214 MB / 390.8 MB, free: 3.418 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Comparator -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Comparator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Comparator/Comparator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.275596191990189]