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.00172/0.00172, allocations: 106.1 kB / 19.8 MB, free: 2.5 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.002138/0.002138, allocations: 219.2 kB / 23 MB, free: 5.574 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.456/1.456, allocations: 230.2 MB / 256.2 MB, free: 8.531 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.001968/0.001968, allocations: 59.91 kB / 376.5 MB, free: 3.578 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3252/0.3271, allocations: 53.33 MB / 429.8 MB, free: 7.652 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.004898/0.332, allocations: 2.796 MB / 432.6 MB, free: 4.844 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001525/0.3336, allocations: 0.7206 MB / 433.4 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001534/0.3337, allocations: 8 kB / 433.4 MB, free: 4.109 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001637/0.3339, allocations: 39.58 kB / 433.4 MB, free: 4.07 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002158/0.3341, allocations: 91.25 kB / 433.5 MB, free: 3.98 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003089/0.3344, allocations: 99.8 kB / 433.6 MB, free: 3.883 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004487/0.3348, allocations: 354.5 kB / 433.9 MB, free: 3.535 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002062/0.3351, allocations: 64.64 kB / 434 MB, free: 3.465 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001794/0.3352, allocations: 131.5 kB / 434.1 MB, free: 3.336 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002117/0.3354, allocations: 155.3 kB / 434.3 MB, free: 3.184 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.432e-05/0.3355, allocations: 28 kB / 434.3 MB, free: 3.156 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.439e-05/0.3356, allocations: 32 kB / 434.3 MB, free: 3.125 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.857e-05/0.3356, allocations: 59.77 kB / 434.4 MB, free: 3.066 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001597/0.3358, allocations: 147.2 kB / 434.5 MB, free: 2.922 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004377/0.3362, allocations: 328.2 kB / 434.9 MB, free: 2.605 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3362, allocations: 0 / 434.9 MB, free: 2.605 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3362, allocations: 0 / 434.9 MB, free: 2.605 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.3362, allocations: 0 / 434.9 MB, free: 2.605 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.00144/0.3377, allocations: 0.6494 MB / 435.5 MB, free: 1.902 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.3377, allocations: 12.02 kB / 435.5 MB, free: 1.891 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.497e-05/0.3378, allocations: 36.75 kB / 435.6 MB, free: 1.855 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005034/0.3383, allocations: 283.8 kB / 435.8 MB, free: 1.539 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.3383, allocations: 12.81 kB / 435.8 MB, free: 1.527 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.723e-05/0.3384, allocations: 24.31 kB / 435.9 MB, free: 1.504 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007131/0.3391, allocations: 282.1 kB / 436.1 MB, free: 1.219 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.3391, allocations: 0 / 436.1 MB, free: 1.219 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.061e-05/0.3391, allocations: 11.94 kB / 436.2 MB, free: 1.207 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.3391, allocations: 4 kB / 436.2 MB, free: 1.203 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007552/0.3399, allocations: 245.6 kB / 436.4 MB, free: 0.957 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001793/0.3417, allocations: 0.9445 MB / 437.3 MB, free: 15.94 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008208/0.3425, allocations: 234.5 kB / 437.6 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003275/0.3428, allocations: 96.78 kB / 437.7 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.757e-05/0.3429, allocations: 8.203 kB / 437.7 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004773/0.3433, allocations: 185.7 kB / 437.9 MB, free: 15.39 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.533e-06/0.3433, allocations: 0 / 437.9 MB, free: 15.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002402/0.3457, allocations: 0.6513 MB / 438.5 MB, free: 14.71 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.911e-05/0.3458, allocations: 106.8 kB / 438.6 MB, free: 14.58 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003317/0.3462, allocations: 262.6 kB / 438.9 MB, free: 14.32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.4e-05/0.3462, allocations: 33.7 kB / 438.9 MB, free: 14.28 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000143/0.3463, allocations: 184 kB / 439.1 MB, free: 14.1 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.126e-05/0.3464, allocations: 39.69 kB / 439.1 MB, free: 14.06 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.866e-05/0.3465, allocations: 45.66 kB / 439.2 MB, free: 14.01 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.3466, allocations: 342.8 kB / 439.5 MB, free: 13.67 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000378/0.347, allocations: 95.92 kB / 439.6 MB, free: 13.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004122/0.3474, allocations: 164.5 kB / 439.8 MB, free: 13.38 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007194/0.3481, allocations: 275.1 kB / 440 MB, free: 13.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.3481, allocations: 0 / 440 MB, free: 13.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001302/0.3494, allocations: 427.7 kB / 440.4 MB, free: 12.65 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.862e-05/0.3495, allocations: 37.77 kB / 440.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.3495, allocations: 4 kB / 440.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003617/0.3499, allocations: 72.8 kB / 440.5 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002007/0.3501, allocations: 47.89 kB / 440.6 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004205/0.3543, allocations: 1.947 MB / 442.5 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004833/0.3547, allocations: 43.8 kB / 442.6 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.318e-05/0.3548, allocations: 16.06 kB / 442.6 MB, free: 10.34 MB / 350.1 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.0002434/0.355, allocations: 137.8 kB / 442.7 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.362e-05/0.3551, allocations: 23.98 kB / 442.8 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.7e-05/0.3552, allocations: 29.77 kB / 442.8 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.3552, allocations: 8 kB / 442.8 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.3552, allocations: 0 / 442.8 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.3552, allocations: 0 / 442.8 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004768/0.3557, allocations: 289.4 kB / 443.1 MB, free: 9.797 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.3557, allocations: 4 kB / 443.1 MB, free: 9.793 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002144/0.3559, allocations: 27.97 kB / 443.1 MB, free: 9.766 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004031/0.3563, allocations: 76.73 kB / 443.2 MB, free: 9.688 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3e-05/0.3563, allocations: 7.938 kB / 443.2 MB, free: 9.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00343/0.3597, allocations: 1.758 MB / 445 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/0.3597, allocations: 3.984 kB / 445 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001532/0.3613, allocations: 360.6 kB / 445.3 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001197/0.3614, allocations: 104.9 kB / 445.4 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.949e-05/0.3615, allocations: 11.94 kB / 445.4 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002773/0.3617, allocations: 27.97 kB / 445.4 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.3618, allocations: 27.91 kB / 445.5 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/0.3619, allocations: 0 / 445.5 MB, free: 7.219 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002198/0.3621, allocations: 194 kB / 445.7 MB, free: 7.031 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3621, allocations: 4 kB / 445.7 MB, free: 7.027 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004419/0.3625, allocations: 67.89 kB / 445.7 MB, free: 6.961 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.0001764/0.3627, allocations: 103.2 kB / 445.8 MB, free: 6.848 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001099/0.3638, allocations: 405.9 kB / 446.2 MB, free: 6.426 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3638, allocations: 0 / 446.2 MB, free: 6.426 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000522/0.3643, allocations: 226.8 kB / 446.5 MB, free: 6.191 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/0.3646, allocations: 39.92 kB / 446.5 MB, free: 6.156 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001274/0.3659, allocations: 466.9 kB / 446.9 MB, free: 5.672 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005597/0.3665, allocations: 0.7518 MB / 447.7 MB, free: 4.895 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001382/0.3666, allocations: 26.23 kB / 447.7 MB, free: 4.871 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.016e-05/0.3667, allocations: 19.44 kB / 447.7 MB, free: 4.852 MB / 350.1 MB Notification: Performance of SimCode: time 8.41e-07/0.3667, allocations: 0 / 447.7 MB, free: 4.852 MB / 350.1 MB Notification: Performance of Templates: time 0.01101/0.3777, allocations: 3.993 MB / 451.7 MB, free: 0.8984 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/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.678654787130654]