Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.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.00094/0.00094, allocations: 71.77 kB / 21.69 MB, free: 2.855 MB / 18.57 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.0009501/0.0009501, allocations: 166.8 kB / 24.99 MB, free: 8.336 MB / 18.57 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.085/1.085, allocations: 177.1 MB / 205.3 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] 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.SchmittTrigger,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.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.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 273.1 MB, free: 1.785 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.896e-05/2.046e-05, allocations: 2.312 kB / 273.1 MB, free: 1.781 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.003688/0.003708, allocations: 2.786 MB / 275.9 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001512/0.00522, allocations: 0.6855 MB / 276.6 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001974/0.005417, allocations: 7.938 kB / 276.6 MB, free: 14.28 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001584/0.005575, allocations: 43.52 kB / 276.6 MB, free: 14.24 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002118/0.005787, allocations: 99.25 kB / 276.7 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003437/0.006131, allocations: 95.75 kB / 276.8 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004379/0.006569, allocations: 378.3 kB / 277.2 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001779/0.006747, allocations: 52.91 kB / 277.2 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002616/0.007008, allocations: 195.5 kB / 277.4 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001641/0.007172, allocations: 115.7 kB / 277.5 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.28e-05/0.007225, allocations: 32 kB / 277.6 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.192e-05/0.007267, allocations: 28 kB / 277.6 MB, free: 13.26 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.175e-05/0.007329, allocations: 67.69 kB / 277.7 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000117/0.007446, allocations: 107.7 kB / 277.8 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000291/0.007737, allocations: 211.2 kB / 278 MB, free: 12.88 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.295e-06/0.007739, allocations: 0 / 278 MB, free: 12.88 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.42e-07/0.00774, allocations: 0 / 278 MB, free: 12.88 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.007744, allocations: 4 kB / 278 MB, free: 12.88 MB / 266.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.0008949/0.008639, allocations: 0.6507 MB / 278.6 MB, free: 12.18 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.008676, allocations: 11.97 kB / 278.6 MB, free: 12.17 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.211e-05/0.008768, allocations: 44.75 kB / 278.7 MB, free: 12.13 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002951/0.009063, allocations: 224 kB / 278.9 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.009082, allocations: 12.88 kB / 278.9 MB, free: 11.87 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.272e-05/0.009115, allocations: 24.38 kB / 278.9 MB, free: 11.85 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004285/0.009544, allocations: 281.1 kB / 279.2 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.009554, allocations: 192 / 279.2 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.56e-05/0.00958, allocations: 12.38 kB / 279.2 MB, free: 11.53 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.009592, allocations: 7.938 kB / 279.2 MB, free: 11.52 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001964/0.009788, allocations: 86.88 kB / 279.3 MB, free: 11.44 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001138/0.01093, allocations: 0.8858 MB / 280.2 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002884/0.01121, allocations: 115.1 kB / 280.3 MB, free: 10.37 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.763e-05/0.01129, allocations: 35.67 kB / 280.4 MB, free: 10.33 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.982e-05/0.01131, allocations: 8 kB / 280.4 MB, free: 10.32 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000206/0.01152, allocations: 171.5 kB / 280.5 MB, free: 10.12 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/0.01152, allocations: 0 / 280.5 MB, free: 10.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.000874/0.01239, allocations: 317 kB / 280.8 MB, free: 9.797 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.083e-05/0.01244, allocations: 106.8 kB / 280.9 MB, free: 9.668 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002369/0.01268, allocations: 296.2 kB / 281.2 MB, free: 9.363 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/0.01271, allocations: 37.69 kB / 281.3 MB, free: 9.32 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.01282, allocations: 226.9 kB / 281.5 MB, free: 9.094 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.57e-05/0.01286, allocations: 43.64 kB / 281.5 MB, free: 9.051 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.167e-05/0.01293, allocations: 47.36 kB / 281.6 MB, free: 8.996 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.01307, allocations: 0.504 MB / 282.1 MB, free: 8.48 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.026e-05/0.01316, allocations: 53.69 kB / 282.1 MB, free: 8.422 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001534/0.01331, allocations: 208.4 kB / 282.3 MB, free: 8.16 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001928/0.0135, allocations: 177.4 kB / 282.5 MB, free: 7.949 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.01351, allocations: 4 kB / 282.5 MB, free: 7.945 MB / 266.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004549/0.01396, allocations: 292.4 kB / 282.8 MB, free: 7.637 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.078e-05/0.01399, allocations: 37.69 kB / 282.8 MB, free: 7.594 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.014, allocations: 0 / 282.8 MB, free: 7.594 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003244/0.01432, allocations: 83.58 kB / 282.9 MB, free: 7.508 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.01443, allocations: 35.97 kB / 283 MB, free: 7.473 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001469/0.0159, allocations: 2.129 MB / 285.1 MB, free: 5.215 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001836/0.01609, allocations: 39.86 kB / 285.1 MB, free: 5.176 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.797e-05/0.0161, allocations: 11.94 kB / 285.1 MB, free: 5.164 MB / 266.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 0.0001155/0.01622, allocations: 172.5 kB / 285.3 MB, free: 4.984 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.75e-05/0.01626, allocations: 32.23 kB / 285.3 MB, free: 4.953 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.362e-05/0.01629, allocations: 25.77 kB / 285.4 MB, free: 4.926 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.01629, allocations: 11.94 kB / 285.4 MB, free: 4.914 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.225e-06/0.0163, allocations: 0 / 285.4 MB, free: 4.914 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.0163, allocations: 0 / 285.4 MB, free: 4.914 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001846/0.01649, allocations: 212.4 kB / 285.6 MB, free: 4.672 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.01649, allocations: 0 / 285.6 MB, free: 4.672 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.165e-05/0.01655, allocations: 19.92 kB / 285.6 MB, free: 4.652 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002179/0.01677, allocations: 75.62 kB / 285.7 MB, free: 4.574 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.01678, allocations: 0 / 285.7 MB, free: 4.574 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001093/0.01787, allocations: 1.881 MB / 287.6 MB, free: 2.574 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.01787, allocations: 0 / 287.6 MB, free: 2.574 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003418/0.01821, allocations: 219.5 kB / 287.8 MB, free: 2.336 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.961e-05/0.01824, allocations: 23.8 kB / 287.8 MB, free: 2.312 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.717e-05/0.01827, allocations: 8.031 kB / 287.8 MB, free: 2.305 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.01838, allocations: 23.97 kB / 287.8 MB, free: 2.281 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.323e-05/0.01846, allocations: 19.97 kB / 287.8 MB, free: 2.262 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.284e-05/0.01847, allocations: 4 kB / 287.9 MB, free: 2.258 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001529/0.01862, allocations: 209.1 kB / 288.1 MB, free: 2.051 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01862, allocations: 0 / 288.1 MB, free: 2.051 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000361/0.01898, allocations: 71.89 kB / 288.1 MB, free: 1.98 MB / 266.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 0.0001419/0.01913, allocations: 103.2 kB / 288.2 MB, free: 1.871 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005612/0.01969, allocations: 369.5 kB / 288.6 MB, free: 1.473 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.01969, allocations: 0 / 288.6 MB, free: 1.473 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002332/0.01992, allocations: 233.4 kB / 288.8 MB, free: 1.223 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003223/0.02025, allocations: 48.83 kB / 288.9 MB, free: 1.176 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/0.02131, allocations: 421.7 kB / 289.3 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.809e-05/0.02138, allocations: 80.31 kB / 289.4 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.375e-05/0.02147, allocations: 21.95 kB / 289.4 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.338e-05/0.02154, allocations: 24.48 kB / 289.4 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of SimCode: time 1.393e-06/0.02154, allocations: 0 / 289.4 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of Templates: time 0.007063/0.0286, allocations: 3.91 MB / 293.3 MB, free: 12.74 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.929595710011199]