Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.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.0007984/0.0007984, allocations: 84 kB / 21.43 MB, free: 3.121 MB / 18.57 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.003352/0.003352, allocations: 148.3 kB / 24.68 MB, free: 9.43 MB / 18.57 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 0.8275/0.8275, allocations: 173.4 MB / 201.2 MB, free: 9.445 MB / 186.7 MB " [Timeout remaining time 179] 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.SchmittTrigger,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.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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 3.938 kB / 319.7 MB, free: 5.84 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.66e-05/1.799e-05, allocations: 6.281 kB / 319.7 MB, free: 5.832 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.002609/0.002627, allocations: 2.582 MB / 322.3 MB, free: 3.23 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007789/0.003406, allocations: 0.6583 MB / 323 MB, free: 2.566 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/0.003514, allocations: 7.938 kB / 323 MB, free: 2.559 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001179/0.003631, allocations: 31.64 kB / 323 MB, free: 2.527 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001353/0.003767, allocations: 107.1 kB / 323.1 MB, free: 2.422 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000238/0.004005, allocations: 99.78 kB / 323.2 MB, free: 2.324 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002733/0.004278, allocations: 362.4 kB / 323.6 MB, free: 1.969 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001395/0.004418, allocations: 60.83 kB / 323.6 MB, free: 1.906 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001557/0.004573, allocations: 195.5 kB / 323.8 MB, free: 1.715 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001147/0.004688, allocations: 111.7 kB / 323.9 MB, free: 1.605 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.592e-05/0.004724, allocations: 32 kB / 324 MB, free: 1.574 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.672e-05/0.004751, allocations: 32 kB / 324 MB, free: 1.543 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.621e-05/0.004797, allocations: 71.67 kB / 324.1 MB, free: 1.473 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.643e-05/0.004873, allocations: 95.75 kB / 324.2 MB, free: 1.379 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002601/0.005133, allocations: 334.9 kB / 324.5 MB, free: 1.051 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.005135, allocations: 0 / 324.5 MB, free: 1.051 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.005136, allocations: 0 / 324.5 MB, free: 1.051 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.005141, allocations: 0 / 324.5 MB, free: 1.051 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007905/0.005931, allocations: 0.5696 MB / 325.1 MB, free: 460 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/0.005963, allocations: 8.922 kB / 325.1 MB, free: 452 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.356e-05/0.006017, allocations: 32.75 kB / 325.1 MB, free: 420 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002441/0.006261, allocations: 229.1 kB / 325.3 MB, free: 164 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.006277, allocations: 16.88 kB / 325.3 MB, free: 148 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.238e-05/0.0063, allocations: 20.38 kB / 325.4 MB, free: 128 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003857/0.006685, allocations: 330.7 kB / 325.7 MB, free: 15.77 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.006696, allocations: 192 / 325.7 MB, free: 15.77 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.811e-05/0.006714, allocations: 8.375 kB / 325.7 MB, free: 15.77 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.00672, allocations: 7.938 kB / 325.7 MB, free: 15.76 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000377/0.007097, allocations: 245.8 kB / 325.9 MB, free: 15.52 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000858/0.007955, allocations: 0.8057 MB / 326.7 MB, free: 14.66 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004189/0.008374, allocations: 230.5 kB / 327 MB, free: 14.43 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003907/0.008765, allocations: 100.8 kB / 327.1 MB, free: 14.33 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/0.008782, allocations: 0 / 327.1 MB, free: 14.33 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002641/0.009046, allocations: 233.2 kB / 327.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.332e-06/0.009048, allocations: 0 / 327.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.001104/0.01015, allocations: 0.5784 MB / 327.9 MB, free: 13.48 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.461e-05/0.0102, allocations: 106.8 kB / 328 MB, free: 13.35 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001683/0.01037, allocations: 249.9 kB / 328.2 MB, free: 13.09 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.01038, allocations: 33.69 kB / 328.3 MB, free: 13.05 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.796e-05/0.01046, allocations: 184.2 kB / 328.4 MB, free: 12.87 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.281e-05/0.01048, allocations: 43.62 kB / 328.5 MB, free: 12.83 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.331e-05/0.01054, allocations: 45.66 kB / 328.5 MB, free: 12.78 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.611e-05/0.01061, allocations: 342.8 kB / 328.9 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000172/0.01079, allocations: 117.6 kB / 329 MB, free: 12.31 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002139/0.011, allocations: 257.7 kB / 329.2 MB, free: 12.01 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003299/0.01133, allocations: 275 kB / 329.5 MB, free: 11.71 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.01133, allocations: 7.938 kB / 329.5 MB, free: 11.71 MB / 298.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005877/0.01192, allocations: 453.5 kB / 329.9 MB, free: 11.24 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.551e-05/0.01195, allocations: 29.7 kB / 330 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.01195, allocations: 7.938 kB / 330 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002166/0.01217, allocations: 84.8 kB / 330.1 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.095e-05/0.01226, allocations: 35.97 kB / 330.1 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001347/0.01361, allocations: 1.817 MB / 331.9 MB, free: 9.156 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001395/0.01375, allocations: 55.73 kB / 332 MB, free: 9.102 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.783e-05/0.01376, allocations: 11.94 kB / 332 MB, free: 9.09 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (19): * Single equations (assignments): 17 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 9.727e-05/0.01386, allocations: 129.8 kB / 332.1 MB, free: 8.953 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.888e-05/0.01388, allocations: 19.86 kB / 332.1 MB, free: 8.934 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.506e-05/0.0139, allocations: 29.77 kB / 332.2 MB, free: 8.906 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.01391, allocations: 4.062 kB / 332.2 MB, free: 8.902 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.02e-07/0.01391, allocations: 0 / 332.2 MB, free: 8.902 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.01391, allocations: 0 / 332.2 MB, free: 8.902 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001308/0.01404, allocations: 201.2 kB / 332.4 MB, free: 8.676 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.01404, allocations: 0 / 332.4 MB, free: 8.676 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.056e-05/0.0141, allocations: 27.91 kB / 332.4 MB, free: 8.648 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001419/0.01424, allocations: 80.8 kB / 332.5 MB, free: 8.566 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.288e-06/0.01425, allocations: 0 / 332.5 MB, free: 8.566 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001386/0.01564, allocations: 1.628 MB / 334.1 MB, free: 6.84 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.01564, allocations: 4.062 kB / 334.1 MB, free: 6.836 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005015/0.01614, allocations: 349.6 kB / 334.4 MB, free: 6.473 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.548e-05/0.01617, allocations: 23.86 kB / 334.5 MB, free: 6.449 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.01618, allocations: 0 / 334.5 MB, free: 6.449 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.01629, allocations: 39.95 kB / 334.5 MB, free: 6.41 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.735e-05/0.01635, allocations: 19.97 kB / 334.5 MB, free: 6.391 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.01635, allocations: 4 kB / 334.5 MB, free: 6.387 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001065/0.01646, allocations: 181.2 kB / 334.7 MB, free: 6.211 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01646, allocations: 0 / 334.7 MB, free: 6.211 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002165/0.01668, allocations: 75.83 kB / 334.8 MB, free: 6.137 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 9.705e-05/0.01677, allocations: 107.2 kB / 334.9 MB, free: 6.02 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005385/0.01731, allocations: 442.7 kB / 335.3 MB, free: 5.559 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01731, allocations: 0 / 335.3 MB, free: 5.559 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002134/0.01753, allocations: 227 kB / 335.5 MB, free: 5.324 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002003/0.01773, allocations: 47.59 kB / 335.6 MB, free: 5.281 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005731/0.0183, allocations: 474.8 kB / 336 MB, free: 4.789 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.4e-05/0.01837, allocations: 138.2 kB / 336.2 MB, free: 4.629 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.746e-05/0.01842, allocations: 20.5 kB / 336.2 MB, free: 4.609 MB / 298.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01842, allocations: 0 / 336.2 MB, free: 4.609 MB / 298.7 MB Notification: Performance of Templates: time 0.003799/0.02222, allocations: 4.193 MB / 340.4 MB, free: 424 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/SchmittTrigger/SchmittTrigger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.159813575446606]