Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001847/0.001847, allocations: 110.8 kB / 21.19 MB, free: 0.668 MB / 14.72 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.002257/0.002257, allocations: 211.6 kB / 24.49 MB, free: 3.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.449/1.449, allocations: 230.6 MB / 258.3 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Comparator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001549/0.001549, allocations: 48.06 kB / 379 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.21/0.2115, allocations: 53.37 MB / 432.4 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Comparator): time 0.004121/0.2157, allocations: 2.723 MB / 435.1 MB, free: 4.008 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001294/0.2169, allocations: 0.7011 MB / 435.8 MB, free: 3.301 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001437/0.2171, allocations: 8 kB / 435.8 MB, free: 3.293 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000159/0.2173, allocations: 51.44 kB / 435.8 MB, free: 3.242 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000221/0.2175, allocations: 103.2 kB / 436 MB, free: 3.141 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002751/0.2177, allocations: 107.9 kB / 436.1 MB, free: 3.035 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004354/0.2182, allocations: 398.4 kB / 436.4 MB, free: 2.645 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002006/0.2184, allocations: 100.1 kB / 436.5 MB, free: 2.551 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001915/0.2186, allocations: 155.4 kB / 436.7 MB, free: 2.398 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002188/0.2188, allocations: 167.3 kB / 436.9 MB, free: 2.234 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.218e-05/0.2189, allocations: 39.94 kB / 436.9 MB, free: 2.195 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.506e-05/0.2189, allocations: 36 kB / 436.9 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.586e-05/0.219, allocations: 75.75 kB / 437 MB, free: 2.086 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001555/0.2192, allocations: 147.3 kB / 437.2 MB, free: 1.941 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004427/0.2196, allocations: 397.4 kB / 437.5 MB, free: 1.555 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2196, allocations: 0 / 437.5 MB, free: 1.555 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2196, allocations: 0 / 437.5 MB, free: 1.555 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.2196, allocations: 0 / 437.5 MB, free: 1.555 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.001416/0.221, allocations: 0.6169 MB / 438.2 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.2211, allocations: 8.031 kB / 438.2 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.666e-05/0.2211, allocations: 36.7 kB / 438.2 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004048/0.2216, allocations: 245.8 kB / 438.4 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.233e-05/0.2216, allocations: 20.88 kB / 438.5 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.208e-05/0.2216, allocations: 28.38 kB / 438.5 MB, free: 0.543 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000772/0.2224, allocations: 322.9 kB / 438.8 MB, free: 220 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.2224, allocations: 0 / 438.8 MB, free: 220 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.486e-05/0.2224, allocations: 12 kB / 438.8 MB, free: 208 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.2225, allocations: 4 kB / 438.8 MB, free: 204 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008707/0.2233, allocations: 277.8 kB / 439.1 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001816/0.2251, allocations: 0.9595 MB / 440 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008382/0.226, allocations: 206.5 kB / 440.3 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003225/0.2263, allocations: 84.78 kB / 440.3 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.2263, allocations: 4 kB / 440.3 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004507/0.2268, allocations: 165.1 kB / 440.5 MB, free: 14.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.493e-06/0.2268, allocations: 0 / 440.5 MB, free: 14.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.001278/0.228, allocations: 326.1 kB / 440.8 MB, free: 14.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.162e-05/0.2281, allocations: 85.14 kB / 440.9 MB, free: 13.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003297/0.2284, allocations: 285.8 kB / 441.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.328e-05/0.2285, allocations: 33.69 kB / 441.2 MB, free: 13.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001574/0.2286, allocations: 215.9 kB / 441.4 MB, free: 13.45 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.269e-05/0.2287, allocations: 39.69 kB / 441.5 MB, free: 13.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.2288, allocations: 57.86 kB / 441.5 MB, free: 13.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.2289, allocations: 330.8 kB / 441.8 MB, free: 13.01 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003971/0.2293, allocations: 129.9 kB / 442 MB, free: 12.88 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000465/0.2298, allocations: 241.4 kB / 442.2 MB, free: 12.58 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007902/0.2306, allocations: 335.9 kB / 442.5 MB, free: 12.2 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.2306, allocations: 0 / 442.5 MB, free: 12.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001043/0.2316, allocations: 433.5 kB / 443 MB, free: 11.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.186e-05/0.2317, allocations: 41.73 kB / 443 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.2317, allocations: 4 kB / 443 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001675/0.2318, allocations: 32.83 kB / 443 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002964/0.2321, allocations: 63.89 kB / 443.1 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001124/0.2332, allocations: 1.276 MB / 444.4 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003513/0.2336, allocations: 47.81 kB / 444.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.672e-05/0.2336, allocations: 12 kB / 444.4 MB, free: 10.17 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.0001604/0.2338, allocations: 155.7 kB / 444.6 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.09e-05/0.2338, allocations: 27.97 kB / 444.6 MB, free: 9.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.351e-05/0.2339, allocations: 21.72 kB / 444.6 MB, free: 9.953 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.2339, allocations: 3.984 kB / 444.6 MB, free: 9.949 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2339, allocations: 0 / 444.6 MB, free: 9.949 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.043e-05/0.2339, allocations: 23.86 kB / 444.7 MB, free: 9.926 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.009e-05/0.234, allocations: 7.922 kB / 444.7 MB, free: 9.918 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002552/0.2342, allocations: 31.91 kB / 444.7 MB, free: 9.887 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.686e-05/0.2343, allocations: 19.97 kB / 444.7 MB, free: 9.867 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001002/0.2353, allocations: 405.2 kB / 445.1 MB, free: 9.461 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00115/0.2365, allocations: 0.5524 MB / 445.7 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003318/0.2368, allocations: 87.95 kB / 445.7 MB, free: 8.805 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002175/0.237, allocations: 201.2 kB / 445.9 MB, free: 8.605 MB / 350.1 MB Notification: Performance of Backend: time 4.01e-07/0.237, allocations: 0 / 445.9 MB, free: 8.605 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00112/0.2381, allocations: 434 kB / 446.4 MB, free: 8.145 MB / 350.1 MB Notification: Performance of SimCode: time 0.001116/0.2392, allocations: 0.9203 MB / 447.3 MB, free: 7.184 MB / 350.1 MB Notification: Performance of Templates: time 0.008527/0.2478, allocations: 4.052 MB / 451.3 MB, free: 3.195 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Comparator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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.283947853997233]