Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.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.001267/0.001267, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.001405/0.001405, allocations: 214.5 kB / 24.48 MB, free: 3.836 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.501/1.501, allocations: 230.5 MB / 258.1 MB, free: 7.801 MB / 206.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.SchmittTrigger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 59.91 kB / 379 MB, free: 2.305 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2621/0.2641, allocations: 53.41 MB / 432.4 MB, free: 6.543 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.00405/0.2681, allocations: 2.622 MB / 435.1 MB, free: 3.914 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001246/0.2694, allocations: 0.6623 MB / 435.7 MB, free: 3.246 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001403/0.2695, allocations: 11.94 kB / 435.7 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001436/0.2697, allocations: 39.58 kB / 435.8 MB, free: 3.195 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002025/0.2699, allocations: 99.17 kB / 435.9 MB, free: 3.098 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002574/0.2701, allocations: 87.78 kB / 435.9 MB, free: 3.012 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004017/0.2705, allocations: 350.5 kB / 436.3 MB, free: 2.668 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001724/0.2707, allocations: 60.89 kB / 436.4 MB, free: 2.605 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001797/0.2709, allocations: 139.4 kB / 436.5 MB, free: 2.469 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001948/0.2711, allocations: 139.3 kB / 436.6 MB, free: 2.332 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.667e-05/0.2711, allocations: 28 kB / 436.7 MB, free: 2.305 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.502e-05/0.2712, allocations: 28 kB / 436.7 MB, free: 2.277 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.998e-05/0.2713, allocations: 67.7 kB / 436.7 MB, free: 2.211 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001446/0.2714, allocations: 123.4 kB / 436.9 MB, free: 2.09 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000398/0.2718, allocations: 333.5 kB / 437.2 MB, free: 1.77 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.2718, allocations: 0 / 437.2 MB, free: 1.77 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2718, allocations: 0 / 437.2 MB, free: 1.77 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.2718, allocations: 4 kB / 437.2 MB, free: 1.766 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001158/0.273, allocations: 0.5584 MB / 437.8 MB, free: 1.172 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.273, allocations: 11.98 kB / 437.8 MB, free: 1.16 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.336e-05/0.2731, allocations: 36.69 kB / 437.8 MB, free: 1.125 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004214/0.2735, allocations: 234 kB / 438 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.28e-05/0.2735, allocations: 16.81 kB / 438 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.078e-05/0.2736, allocations: 20.38 kB / 438.1 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005964/0.2742, allocations: 320.6 kB / 438.4 MB, free: 0.5 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.2742, allocations: 0 / 438.4 MB, free: 0.5 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.081e-05/0.2742, allocations: 12 kB / 438.4 MB, free: 500 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.2742, allocations: 4 kB / 438.4 MB, free: 496 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006177/0.2748, allocations: 221.6 kB / 438.6 MB, free: 272 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001527/0.2764, allocations: 0.7688 MB / 439.4 MB, free: 15.44 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006392/0.277, allocations: 198.5 kB / 439.6 MB, free: 15.24 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002589/0.2773, allocations: 88.8 kB / 439.7 MB, free: 15.15 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.568e-05/0.2773, allocations: 0 / 439.7 MB, free: 15.15 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000457/0.2777, allocations: 251.8 kB / 439.9 MB, free: 14.86 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.473e-06/0.2777, allocations: 0 / 439.9 MB, free: 14.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001667/0.2794, allocations: 445.3 kB / 440.3 MB, free: 14.42 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.857e-05/0.2795, allocations: 136.5 kB / 440.5 MB, free: 14.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002889/0.2798, allocations: 257 kB / 440.7 MB, free: 13.99 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.494e-05/0.2798, allocations: 33.7 kB / 440.8 MB, free: 13.95 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001337/0.28, allocations: 176.2 kB / 440.9 MB, free: 13.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.895e-05/0.28, allocations: 59.56 kB / 441 MB, free: 13.71 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.901e-05/0.2801, allocations: 49.66 kB / 441 MB, free: 13.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.2803, allocations: 334.8 kB / 441.4 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003028/0.2806, allocations: 109.6 kB / 441.5 MB, free: 13.21 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003887/0.281, allocations: 267.9 kB / 441.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005577/0.2815, allocations: 242.2 kB / 442 MB, free: 12.63 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.2815, allocations: 0 / 442 MB, free: 12.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0009418/0.2825, allocations: 401.3 kB / 442.4 MB, free: 12.22 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.981e-05/0.2825, allocations: 33.7 kB / 442.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.2825, allocations: 4 kB / 442.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003529/0.2829, allocations: 76.97 kB / 442.5 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002028/0.2831, allocations: 39.91 kB / 442.5 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002229/0.2853, allocations: 1.628 MB / 444.1 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003005/0.2856, allocations: 39.92 kB / 444.2 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.401e-05/0.2856, allocations: 12 kB / 444.2 MB, free: 10.27 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (20): * Single equations (assignments): 18 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001621/0.2858, allocations: 148.1 kB / 444.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.65e-05/0.2858, allocations: 19.86 kB / 444.4 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.204e-05/0.2859, allocations: 30.11 kB / 444.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.2859, allocations: 0 / 444.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.2859, allocations: 3.938 kB / 444.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.445e-06/0.2859, allocations: 3.984 kB / 444.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000228/0.2861, allocations: 205.1 kB / 444.6 MB, free: 9.836 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.2861, allocations: 4 kB / 444.6 MB, free: 9.832 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001392/0.2862, allocations: 23.97 kB / 444.6 MB, free: 9.809 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002734/0.2865, allocations: 68.78 kB / 444.7 MB, free: 9.738 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.148e-05/0.2865, allocations: 8 kB / 444.7 MB, free: 9.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001897/0.2884, allocations: 1.618 MB / 446.3 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.2884, allocations: 4.031 kB / 446.3 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007839/0.2892, allocations: 301.6 kB / 446.6 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.824e-05/0.2893, allocations: 27.8 kB / 446.6 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.256e-05/0.2893, allocations: 0 / 446.6 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002332/0.2895, allocations: 39.95 kB / 446.7 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.925e-05/0.2896, allocations: 23.91 kB / 446.7 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.557e-05/0.2896, allocations: 7.984 kB / 446.7 MB, free: 7.586 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001829/0.2898, allocations: 180.5 kB / 446.9 MB, free: 7.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2898, allocations: 0 / 446.9 MB, free: 7.41 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003356/0.2902, allocations: 75.89 kB / 447 MB, free: 7.336 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (11): * Single equations (assignments): 8 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001428/0.2903, allocations: 103.2 kB / 447.1 MB, free: 7.227 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009124/0.2912, allocations: 423.5 kB / 447.5 MB, free: 6.781 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.2912, allocations: 0 / 447.5 MB, free: 6.781 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004257/0.2916, allocations: 230.8 kB / 447.7 MB, free: 6.543 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003126/0.292, allocations: 48.48 kB / 447.7 MB, free: 6.496 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001861/0.2938, allocations: 0.5799 MB / 448.3 MB, free: 5.887 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001402/0.294, allocations: 146.2 kB / 448.5 MB, free: 5.719 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.135e-05/0.294, allocations: 19.44 kB / 448.5 MB, free: 5.699 MB / 350.1 MB Notification: Performance of SimCode: time 7.32e-07/0.294, allocations: 0 / 448.5 MB, free: 5.699 MB / 350.1 MB Notification: Performance of Templates: time 0.006946/0.301, allocations: 4.378 MB / 452.9 MB, free: 1.332 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/SchmittTrigger/SchmittTrigger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.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: 7.3561943410895765]