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.001754/0.001754, allocations: 88.52 kB / 20.68 MB, free: 1.02 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.002059/0.002059, allocations: 158.5 kB / 23.95 MB, free: 4.152 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.548/1.548, allocations: 177 MB / 204.1 MB, free: 9.164 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.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 1.943e-06/1.943e-06, allocations: 0.75 kB / 325.1 MB, free: 472 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.739e-05/2.933e-05, allocations: 2.281 kB / 325.1 MB, free: 468 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.004179/0.004208, allocations: 2.623 MB / 327.7 MB, free: 14.68 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001316/0.005524, allocations: 0.6714 MB / 328.4 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001401/0.005664, allocations: 7.844 kB / 328.4 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001487/0.005813, allocations: 41.19 kB / 328.4 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002209/0.006034, allocations: 102.3 kB / 328.5 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002713/0.006305, allocations: 79.59 kB / 328.6 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004495/0.006755, allocations: 375.5 kB / 329 MB, free: 13.87 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002245/0.006979, allocations: 58.16 kB / 329 MB, free: 13.84 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003692/0.007348, allocations: 200.7 kB / 329.2 MB, free: 13.75 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002493/0.007598, allocations: 109.1 kB / 329.3 MB, free: 13.71 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.66e-05/0.007664, allocations: 28.78 kB / 329.3 MB, free: 13.71 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.775e-05/0.007732, allocations: 29.44 kB / 329.4 MB, free: 13.71 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.807e-05/0.00782, allocations: 71.55 kB / 329.4 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001618/0.007982, allocations: 104.5 kB / 329.5 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004627/0.008444, allocations: 332.8 kB / 329.9 MB, free: 13.49 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.008448, allocations: 3.938 kB / 329.9 MB, free: 13.49 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.008449, allocations: 1.344 kB / 329.9 MB, free: 13.49 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.008456, allocations: 0 / 329.9 MB, free: 13.49 MB / 302.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.001264/0.00972, allocations: 0.5634 MB / 330.4 MB, free: 13.05 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.009759, allocations: 13.7 kB / 330.4 MB, free: 13.04 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.107e-05/0.00985, allocations: 37.16 kB / 330.5 MB, free: 13.02 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004123/0.01026, allocations: 229 kB / 330.7 MB, free: 12.81 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.356e-05/0.01029, allocations: 17.72 kB / 330.7 MB, free: 12.8 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.043e-05/0.01033, allocations: 23.81 kB / 330.7 MB, free: 12.8 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006169/0.01094, allocations: 313.6 kB / 331.1 MB, free: 12.56 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.01096, allocations: 4.172 kB / 331.1 MB, free: 12.56 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.933e-05/0.01099, allocations: 6.562 kB / 331.1 MB, free: 12.55 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.849e-06/0.011, allocations: 9.906 kB / 331.1 MB, free: 12.55 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006401/0.01164, allocations: 226.3 kB / 331.3 MB, free: 12.45 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001586/0.01322, allocations: 0.7617 MB / 332.1 MB, free: 11.81 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006593/0.01388, allocations: 194.2 kB / 332.2 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002855/0.01417, allocations: 95.39 kB / 332.3 MB, free: 11.65 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.819e-05/0.0142, allocations: 5.031 kB / 332.3 MB, free: 11.65 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004874/0.01468, allocations: 256 kB / 332.6 MB, free: 11.41 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.493e-06/0.01468, allocations: 0 / 332.6 MB, free: 11.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.00178/0.01646, allocations: 439.3 kB / 333 MB, free: 11.19 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.355e-05/0.01656, allocations: 135.8 kB / 333.2 MB, free: 11.03 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003254/0.01688, allocations: 255.3 kB / 333.4 MB, free: 10.84 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.486e-05/0.01692, allocations: 27.95 kB / 333.4 MB, free: 10.81 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001928/0.01711, allocations: 186.7 kB / 333.6 MB, free: 10.64 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.467e-05/0.01717, allocations: 54.22 kB / 333.7 MB, free: 10.59 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.439e-05/0.01726, allocations: 50.84 kB / 333.7 MB, free: 10.55 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002065/0.01747, allocations: 340.5 kB / 334.1 MB, free: 10.22 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003136/0.01778, allocations: 111 kB / 334.2 MB, free: 10.15 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004195/0.0182, allocations: 260.8 kB / 334.4 MB, free: 9.895 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005923/0.01879, allocations: 241.4 kB / 334.6 MB, free: 9.723 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.0188, allocations: 0 / 334.6 MB, free: 9.723 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001002/0.0198, allocations: 394.8 kB / 335 MB, free: 9.477 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.538e-05/0.01984, allocations: 40.2 kB / 335.1 MB, free: 9.438 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.01985, allocations: 2.906 kB / 335.1 MB, free: 9.438 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003814/0.02023, allocations: 77.22 kB / 335.2 MB, free: 9.398 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000197/0.02043, allocations: 38.53 kB / 335.2 MB, free: 9.387 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002225/0.02265, allocations: 1.622 MB / 336.8 MB, free: 7.902 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003387/0.02299, allocations: 45.7 kB / 336.9 MB, free: 7.879 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.367e-05/0.02302, allocations: 7.375 kB / 336.9 MB, free: 7.879 MB / 302.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.0001886/0.02321, allocations: 140.2 kB / 337 MB, free: 7.746 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.502e-05/0.02325, allocations: 26.41 kB / 337 MB, free: 7.73 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.339e-05/0.0233, allocations: 24.38 kB / 337.1 MB, free: 7.715 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.02331, allocations: 5.156 kB / 337.1 MB, free: 7.711 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.02331, allocations: 1.125 kB / 337.1 MB, free: 7.711 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/0.02332, allocations: 3.984 kB / 337.1 MB, free: 7.707 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002635/0.02358, allocations: 210.1 kB / 337.3 MB, free: 7.516 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.02358, allocations: 5.109 kB / 337.3 MB, free: 7.512 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001494/0.02373, allocations: 26.33 kB / 337.3 MB, free: 7.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003087/0.02404, allocations: 71.31 kB / 337.4 MB, free: 7.465 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/0.02406, allocations: 1.281 kB / 337.4 MB, free: 7.465 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002062/0.02612, allocations: 1.622 MB / 339 MB, free: 5.988 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.02612, allocations: 3.938 kB / 339 MB, free: 5.984 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008586/0.02698, allocations: 304 kB / 339.3 MB, free: 5.793 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.471e-05/0.02703, allocations: 22.17 kB / 339.3 MB, free: 5.777 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.946e-05/0.02707, allocations: 5.375 kB / 339.3 MB, free: 5.773 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002473/0.02731, allocations: 33.95 kB / 339.4 MB, free: 5.758 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.134e-05/0.0274, allocations: 31.61 kB / 339.4 MB, free: 5.734 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.592e-05/0.02742, allocations: 3.219 kB / 339.4 MB, free: 5.734 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001904/0.02761, allocations: 183.2 kB / 339.6 MB, free: 5.613 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.02761, allocations: 0 / 339.6 MB, free: 5.613 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000376/0.02799, allocations: 77.77 kB / 339.6 MB, free: 5.598 MB / 302.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.0001708/0.02816, allocations: 100.2 kB / 339.7 MB, free: 5.504 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001035/0.02919, allocations: 420.3 kB / 340.1 MB, free: 5.188 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.02919, allocations: 0 / 340.1 MB, free: 5.188 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004996/0.02969, allocations: 248.6 kB / 340.4 MB, free: 4.984 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003492/0.03004, allocations: 39.06 kB / 340.4 MB, free: 4.949 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001991/0.03203, allocations: 0.5379 MB / 341 MB, free: 4.383 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00014/0.03217, allocations: 142.2 kB / 341.1 MB, free: 4.227 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.969e-05/0.03227, allocations: 18.3 kB / 341.1 MB, free: 4.207 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.225e-05/0.03235, allocations: 20.5 kB / 341.1 MB, free: 4.184 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.03235, allocations: 4 kB / 341.1 MB, free: 4.18 MB / 302.1 MB Notification: Performance of Templates: time 0.009056/0.0414, allocations: 4.088 MB / 345.2 MB, free: 144 kB / 302.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/SchmittTrigger/SchmittTrigger.csv","/var/lib/jenkins/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: 4.6295436806976795]