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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=2000,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=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Comparator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001222/0.001222, allocations: 111.1 kB / 18.46 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001304/0.001304, allocations: 207.9 kB / 19.41 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.405/1.405, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 63.91 kB / 359.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2358/0.2371, allocations: 50.54 MB / 410 MB, free: 1.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Comparator): time 0.003813/0.2409, allocations: 2.901 MB / 412.9 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001221/0.2422, allocations: 0.7245 MB / 413.6 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000135/0.2423, allocations: 4 kB / 413.6 MB, free: 14.08 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000166/0.2425, allocations: 51.44 kB / 413.7 MB, free: 14.03 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001853/0.2427, allocations: 99.19 kB / 413.8 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002763/0.243, allocations: 111.8 kB / 413.9 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003835/0.2434, allocations: 390.5 kB / 414.2 MB, free: 13.44 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002325/0.2436, allocations: 139.8 kB / 414.4 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001804/0.2438, allocations: 155.4 kB / 414.5 MB, free: 13.15 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000198/0.244, allocations: 167.3 kB / 414.7 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.634e-05/0.2441, allocations: 43.94 kB / 414.7 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.676e-05/0.2441, allocations: 36 kB / 414.8 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.617e-05/0.2442, allocations: 75.75 kB / 414.8 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001516/0.2444, allocations: 171.2 kB / 415 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003651/0.2447, allocations: 387.9 kB / 415.4 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2448, allocations: 3.938 kB / 415.4 MB, free: 12.28 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.2448, allocations: 0 / 415.4 MB, free: 12.28 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.553e-06/0.2448, allocations: 4 kB / 415.4 MB, free: 12.28 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.001302/0.2461, allocations: 0.6886 MB / 416.1 MB, free: 11.54 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.2461, allocations: 12.02 kB / 416.1 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.455e-05/0.2462, allocations: 32.56 kB / 416.1 MB, free: 11.49 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000375/0.2466, allocations: 295.6 kB / 416.4 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.499e-05/0.2466, allocations: 20.94 kB / 416.4 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.61e-05/0.2467, allocations: 24.38 kB / 416.5 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000661/0.2474, allocations: 327.9 kB / 416.8 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.2474, allocations: 0 / 416.8 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.951e-05/0.2474, allocations: 8 kB / 416.8 MB, free: 10.78 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.004e-06/0.2474, allocations: 8 kB / 416.8 MB, free: 10.77 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007738/0.2482, allocations: 270.1 kB / 417.1 MB, free: 10.51 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001744/0.25, allocations: 1.134 MB / 418.2 MB, free: 9.281 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007773/0.2507, allocations: 210.5 kB / 418.4 MB, free: 9.066 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003023/0.2511, allocations: 88.73 kB / 418.5 MB, free: 8.977 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.2511, allocations: 3.984 kB / 418.5 MB, free: 8.973 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004127/0.2515, allocations: 157.1 kB / 418.7 MB, free: 8.801 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 4.068e-06/0.2515, allocations: 7.984 kB / 418.7 MB, free: 8.793 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.001259/0.2528, allocations: 411 kB / 419.1 MB, free: 8.363 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.978e-05/0.2529, allocations: 81.11 kB / 419.1 MB, free: 8.266 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003386/0.2532, allocations: 328.5 kB / 419.5 MB, free: 7.945 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/0.2532, allocations: 29.7 kB / 419.5 MB, free: 7.91 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001336/0.2534, allocations: 203.5 kB / 419.7 MB, free: 7.707 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.32e-05/0.2534, allocations: 35.55 kB / 419.7 MB, free: 7.672 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.2535, allocations: 61.77 kB / 419.8 MB, free: 7.602 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.2537, allocations: 342.8 kB / 420.1 MB, free: 7.258 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003527/0.254, allocations: 92.16 kB / 420.2 MB, free: 7.168 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000397/0.2544, allocations: 211 kB / 420.4 MB, free: 6.91 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000717/0.2551, allocations: 335.9 kB / 420.7 MB, free: 6.523 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.2552, allocations: 4 kB / 420.7 MB, free: 6.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009589/0.2561, allocations: 407.7 kB / 421.1 MB, free: 6.105 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.016e-05/0.2562, allocations: 33.7 kB / 421.2 MB, free: 6.066 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.2562, allocations: 4 kB / 421.2 MB, free: 6.062 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001939/0.2564, allocations: 28.84 kB / 421.2 MB, free: 6.031 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002822/0.2567, allocations: 63.88 kB / 421.3 MB, free: 5.969 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001037/0.2577, allocations: 1.402 MB / 422.7 MB, free: 4.418 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003549/0.2581, allocations: 59.5 kB / 422.7 MB, free: 4.359 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.532e-05/0.2581, allocations: 16 kB / 422.7 MB, free: 4.344 MB / 334.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.0001492/0.2583, allocations: 141.7 kB / 422.9 MB, free: 4.195 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.331e-05/0.2583, allocations: 27.72 kB / 422.9 MB, free: 4.168 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.678e-05/0.2584, allocations: 35.03 kB / 422.9 MB, free: 4.133 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.2584, allocations: 4 kB / 423 MB, free: 4.129 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.2584, allocations: 0 / 423 MB, free: 4.129 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.898e-05/0.2585, allocations: 112.7 kB / 423.1 MB, free: 4 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.882e-05/0.2586, allocations: 3.938 kB / 423.1 MB, free: 3.996 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002397/0.2588, allocations: 27.91 kB / 423.1 MB, free: 3.969 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.225e-05/0.2589, allocations: 19.97 kB / 423.1 MB, free: 3.949 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009404/0.2598, allocations: 408.8 kB / 423.5 MB, free: 3.539 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001053/0.2609, allocations: 0.5561 MB / 424.1 MB, free: 2.965 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003056/0.2612, allocations: 92.02 kB / 424.2 MB, free: 2.875 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002233/0.2614, allocations: 227.1 kB / 424.4 MB, free: 2.656 MB / 334.1 MB Notification: Performance of Backend: time 3.7e-07/0.2615, allocations: 0 / 424.4 MB, free: 2.656 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001136/0.2626, allocations: 411.9 kB / 424.8 MB, free: 2.227 MB / 334.1 MB Notification: Performance of SimCode: time 0.001098/0.2637, allocations: 0.9284 MB / 425.7 MB, free: 1.258 MB / 334.1 MB Notification: Performance of Templates: time 0.007736/0.2715, allocations: 3.659 MB / 429.4 MB, free: 13.63 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.makefile (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 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches