Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.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.001334/0.001334, allocations: 112.5 kB / 18.45 MB, free: 4.543 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.001366/0.001366, allocations: 215.2 kB / 21.42 MB, free: 1.582 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.49/1.49, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.InvertingSchmittTrigger,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.InvertingSchmittTrigger") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger,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.InvertingSchmittTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001505/0.001505, allocations: 55.91 kB / 374.2 MB, free: 9.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.109, allocations: 53.33 MB / 427.5 MB, free: 4.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.004933/0.1139, allocations: 2.777 MB / 430.3 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001659/0.1155, allocations: 0.7129 MB / 431 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002996/0.1158, allocations: 7.938 kB / 431 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002236/0.1161, allocations: 39.58 kB / 431.1 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003428/0.1164, allocations: 99.23 kB / 431.2 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003886/0.1168, allocations: 95.81 kB / 431.3 MB, free: 492 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000552/0.1174, allocations: 362.5 kB / 431.6 MB, free: 128 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001994/0.1176, allocations: 52.73 kB / 431.7 MB, free: 68 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2086/0.3262, allocations: 142.5 kB / 431.8 MB, free: 8.164 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000361/0.3265, allocations: 145.7 kB / 431.9 MB, free: 8.164 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001387/0.3267, allocations: 30 kB / 432 MB, free: 8.164 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001195/0.3268, allocations: 28.72 kB / 432 MB, free: 8.164 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.961e-05/0.3268, allocations: 65.58 kB / 432.1 MB, free: 8.156 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000229/0.3271, allocations: 148.7 kB / 432.2 MB, free: 8.113 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005213/0.3276, allocations: 328.6 kB / 432.5 MB, free: 8.066 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.3276, allocations: 2 kB / 432.5 MB, free: 8.066 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.3276, allocations: 0 / 432.5 MB, free: 8.066 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.488e-05/0.3276, allocations: 0 / 432.5 MB, free: 8.066 MB / 350.1 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.001415/0.329, allocations: 0.645 MB / 433.2 MB, free: 7.582 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.3291, allocations: 10.28 kB / 433.2 MB, free: 7.582 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.438e-05/0.3292, allocations: 31.72 kB / 433.2 MB, free: 7.566 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004108/0.3296, allocations: 283.7 kB / 433.5 MB, free: 7.344 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.406e-05/0.3296, allocations: 14.44 kB / 433.5 MB, free: 7.344 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.317e-05/0.3297, allocations: 26.22 kB / 433.5 MB, free: 7.344 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006239/0.3303, allocations: 273.7 kB / 433.8 MB, free: 7.293 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.3303, allocations: 4.5 kB / 433.8 MB, free: 7.289 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.77e-05/0.3303, allocations: 5.562 kB / 433.8 MB, free: 7.289 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/0.3303, allocations: 7.469 kB / 433.8 MB, free: 7.289 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007188/0.331, allocations: 244.7 kB / 434.1 MB, free: 7.285 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001389/0.3324, allocations: 0.9485 MB / 435 MB, free: 6.801 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008269/0.3333, allocations: 231 kB / 435.2 MB, free: 6.777 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003243/0.3336, allocations: 98.75 kB / 435.3 MB, free: 6.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/0.3336, allocations: 5.312 kB / 435.3 MB, free: 6.766 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004449/0.3341, allocations: 179.5 kB / 435.5 MB, free: 6.691 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 2.605e-06/0.3341, allocations: 4 kB / 435.5 MB, free: 6.691 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002423/0.3365, allocations: 0.6496 MB / 436.2 MB, free: 6.531 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.837e-05/0.3365, allocations: 111.8 kB / 436.3 MB, free: 6.406 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002917/0.3368, allocations: 269.7 kB / 436.5 MB, free: 6.301 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.3368, allocations: 28.77 kB / 436.6 MB, free: 6.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.753e-05/0.3369, allocations: 190.5 kB / 436.8 MB, free: 6.141 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.631e-05/0.337, allocations: 41.39 kB / 436.8 MB, free: 6.117 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.344e-05/0.3371, allocations: 49.23 kB / 436.8 MB, free: 6.098 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.212e-05/0.3371, allocations: 336 kB / 437.2 MB, free: 5.781 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003584/0.3375, allocations: 96.95 kB / 437.3 MB, free: 5.781 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003843/0.3379, allocations: 185.7 kB / 437.4 MB, free: 5.684 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006817/0.3385, allocations: 279.5 kB / 437.7 MB, free: 5.566 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.3385, allocations: 1.469 kB / 437.7 MB, free: 5.566 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001266/0.3398, allocations: 455.3 kB / 438.2 MB, free: 5.465 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.481e-05/0.3398, allocations: 33.78 kB / 438.2 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.3399, allocations: 3.156 kB / 438.2 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00042/0.3403, allocations: 80.34 kB / 438.3 MB, free: 5.422 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002223/0.3405, allocations: 49.31 kB / 438.3 MB, free: 5.422 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002756/0.3433, allocations: 1.997 MB / 440.3 MB, free: 3.902 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003828/0.3436, allocations: 59.28 kB / 440.4 MB, free: 3.887 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.739e-05/0.3437, allocations: 12.69 kB / 440.4 MB, free: 3.887 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 19 * 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 0.0001471/0.3438, allocations: 134.3 kB / 440.5 MB, free: 3.773 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.313e-05/0.3439, allocations: 24.81 kB / 440.6 MB, free: 3.762 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.011e-05/0.3439, allocations: 31.83 kB / 440.6 MB, free: 3.754 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.3439, allocations: 5.828 kB / 440.6 MB, free: 3.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.3439, allocations: 0.8906 kB / 440.6 MB, free: 3.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.3439, allocations: 1.844 kB / 440.6 MB, free: 3.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002884/0.3442, allocations: 297.7 kB / 440.9 MB, free: 3.555 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.3442, allocations: 3.469 kB / 440.9 MB, free: 3.555 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001423/0.3444, allocations: 22.08 kB / 440.9 MB, free: 3.555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002889/0.3446, allocations: 80.98 kB / 441 MB, free: 3.539 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.913e-05/0.3447, allocations: 9.516 kB / 441 MB, free: 3.535 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002153/0.3468, allocations: 1.912 MB / 442.9 MB, free: 2.031 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.3468, allocations: 5.062 kB / 442.9 MB, free: 2.027 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001075/0.3479, allocations: 365.3 kB / 443.3 MB, free: 1.906 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.091e-05/0.348, allocations: 103.9 kB / 443.4 MB, free: 1.793 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.653e-05/0.348, allocations: 7.844 kB / 443.4 MB, free: 1.789 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002694/0.3483, allocations: 33.16 kB / 443.4 MB, free: 1.785 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.885e-05/0.3483, allocations: 18.33 kB / 443.4 MB, free: 1.781 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.3484, allocations: 3.969 kB / 443.4 MB, free: 1.781 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002038/0.3486, allocations: 195.5 kB / 443.6 MB, free: 1.668 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3486, allocations: 0 / 443.6 MB, free: 1.668 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004641/0.349, allocations: 70.86 kB / 443.7 MB, free: 1.66 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: 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 0.0001453/0.3492, allocations: 104.9 kB / 443.8 MB, free: 1.57 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00138/0.3505, allocations: 471.2 kB / 444.3 MB, free: 1.34 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.3505, allocations: 0.5312 kB / 444.3 MB, free: 1.34 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005098/0.3511, allocations: 237.5 kB / 444.5 MB, free: 1.191 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003274/0.3514, allocations: 47.5 kB / 444.5 MB, free: 1.176 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003128/0.3545, allocations: 0.9302 MB / 445.5 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001724/0.3547, allocations: 0.7473 MB / 446.2 MB, free: 152 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.551e-05/0.3548, allocations: 23.28 kB / 446.2 MB, free: 144 kB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3548, allocations: 0 / 446.2 MB, free: 144 kB / 350.1 MB Notification: Performance of Templates: time 0.007779/0.3625, allocations: 4.223 MB / 450.5 MB, free: 15.83 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/InvertingSchmittTrigger/InvertingSchmittTrigger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.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.723810868978035]