Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.InvertingSchmittTrigger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.1.0-beta.om_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-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001341/0.001341, allocations: 109.4 kB / 18.78 MB, free: 3.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001321/0.001321, allocations: 207.2 kB / 19.79 MB, free: 2.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.493/1.493, allocations: 230.4 MB / 251.1 MB, free: 8.516 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 71.83 kB / 369 MB, free: 6.023 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3303, allocations: 53.31 MB / 422.3 MB, free: 7.844 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.004334/0.3346, allocations: 2.788 MB / 425.1 MB, free: 5.047 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001387/0.336, allocations: 0.7089 MB / 425.8 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001407/0.3362, allocations: 4 kB / 425.8 MB, free: 4.328 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001629/0.3363, allocations: 47.56 kB / 425.8 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002012/0.3365, allocations: 95.19 kB / 425.9 MB, free: 4.188 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002991/0.3368, allocations: 99.81 kB / 426 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004239/0.3372, allocations: 354.6 kB / 426.4 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001913/0.3374, allocations: 60.64 kB / 426.4 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001969/0.3376, allocations: 135.4 kB / 426.6 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002095/0.3378, allocations: 147.4 kB / 426.7 MB, free: 3.398 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.139e-05/0.3379, allocations: 28 kB / 426.7 MB, free: 3.371 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.416e-05/0.3379, allocations: 32 kB / 426.8 MB, free: 3.34 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.973e-05/0.338, allocations: 63.75 kB / 426.8 MB, free: 3.277 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001474/0.3382, allocations: 143.3 kB / 427 MB, free: 3.137 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004038/0.3386, allocations: 330.1 kB / 427.3 MB, free: 2.816 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.3386, allocations: 0 / 427.3 MB, free: 2.816 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3386, allocations: 0 / 427.3 MB, free: 2.816 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.3386, allocations: 0 / 427.3 MB, free: 2.816 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.00135/0.3399, allocations: 0.6494 MB / 428 MB, free: 2.113 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.34, allocations: 12.03 kB / 428 MB, free: 2.102 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.945e-05/0.3401, allocations: 36.73 kB / 428 MB, free: 2.066 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004224/0.3405, allocations: 279.8 kB / 428.3 MB, free: 1.754 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/0.3405, allocations: 16.8 kB / 428.3 MB, free: 1.738 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/0.3406, allocations: 28.38 kB / 428.3 MB, free: 1.711 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006468/0.3413, allocations: 274.1 kB / 428.6 MB, free: 1.434 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.3413, allocations: 3.938 kB / 428.6 MB, free: 1.43 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.948e-05/0.3413, allocations: 8 kB / 428.6 MB, free: 1.422 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.3413, allocations: 4 kB / 428.6 MB, free: 1.418 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00076/0.3421, allocations: 253.5 kB / 428.8 MB, free: 1.168 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001633/0.3437, allocations: 0.9444 MB / 429.8 MB, free: 156 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000856/0.3446, allocations: 234.6 kB / 430 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000331/0.3449, allocations: 92.78 kB / 430.1 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.275e-05/0.3449, allocations: 4 kB / 430.1 MB, free: 15.81 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005154/0.3454, allocations: 177.8 kB / 430.3 MB, free: 15.62 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.052e-06/0.3454, allocations: 0 / 430.3 MB, free: 15.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002327/0.3478, allocations: 0.654 MB / 430.9 MB, free: 14.94 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.647e-05/0.3478, allocations: 110.8 kB / 431.1 MB, free: 14.8 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004235/0.3483, allocations: 270.5 kB / 431.3 MB, free: 14.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.249e-05/0.3483, allocations: 37.7 kB / 431.4 MB, free: 14.49 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001414/0.3485, allocations: 176.2 kB / 431.5 MB, free: 14.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.687e-05/0.3485, allocations: 51.47 kB / 431.6 MB, free: 14.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.371e-05/0.3486, allocations: 49.66 kB / 431.6 MB, free: 14.21 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002655/0.3489, allocations: 334.8 kB / 432 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004282/0.3493, allocations: 103.9 kB / 432.1 MB, free: 13.78 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003787/0.3497, allocations: 178.2 kB / 432.2 MB, free: 13.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006656/0.3503, allocations: 289.1 kB / 432.5 MB, free: 13.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3503, allocations: 4 kB / 432.5 MB, free: 13.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001187/0.3515, allocations: 447.9 kB / 433 MB, free: 12.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.532e-05/0.3516, allocations: 33.77 kB / 433 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.3516, allocations: 7.938 kB / 433 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003894/0.352, allocations: 76.8 kB / 433.1 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002144/0.3522, allocations: 43.91 kB / 433.1 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003041/0.3552, allocations: 2.022 MB / 435.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003236/0.3556, allocations: 43.86 kB / 435.2 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.537e-05/0.3556, allocations: 11.98 kB / 435.2 MB, free: 10.41 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.0001667/0.3557, allocations: 141.8 kB / 435.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.146e-05/0.3558, allocations: 19.86 kB / 435.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.687e-05/0.3558, allocations: 37.83 kB / 435.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.3558, allocations: 0 / 435.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.3559, allocations: 0 / 435.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.3559, allocations: 4 kB / 435.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003211/0.3562, allocations: 293.4 kB / 435.7 MB, free: 9.859 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3562, allocations: 0 / 435.7 MB, free: 9.859 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001406/0.3563, allocations: 23.97 kB / 435.7 MB, free: 9.836 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002701/0.3566, allocations: 80.73 kB / 435.8 MB, free: 9.754 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/0.3566, allocations: 7.938 kB / 435.8 MB, free: 9.746 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002604/0.3592, allocations: 1.908 MB / 437.7 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.3592, allocations: 3.938 kB / 437.7 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.3602, allocations: 369.5 kB / 438.1 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.263e-05/0.3603, allocations: 96.91 kB / 438.1 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.465e-05/0.3604, allocations: 11.98 kB / 438.2 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002426/0.3606, allocations: 31.97 kB / 438.2 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.937e-05/0.3607, allocations: 19.97 kB / 438.2 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.3607, allocations: 4 kB / 438.2 MB, free: 7.133 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002422/0.3609, allocations: 194 kB / 438.4 MB, free: 6.945 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3609, allocations: 0 / 438.4 MB, free: 6.945 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004317/0.3614, allocations: 75.89 kB / 438.5 MB, free: 6.871 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.0001791/0.3615, allocations: 107.3 kB / 438.6 MB, free: 6.754 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001275/0.3628, allocations: 469.8 kB / 439 MB, free: 6.27 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3628, allocations: 4.375 kB / 439 MB, free: 6.266 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000483/0.3633, allocations: 230.5 kB / 439.3 MB, free: 6.027 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000356/0.3637, allocations: 48.41 kB / 439.3 MB, free: 5.98 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00289/0.3666, allocations: 0.9012 MB / 440.2 MB, free: 5.055 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004159/0.367, allocations: 0.748 MB / 441 MB, free: 4.277 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.757e-05/0.3671, allocations: 22.3 kB / 441 MB, free: 4.258 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.614e-05/0.3671, allocations: 15.44 kB / 441 MB, free: 4.242 MB / 350.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3671, allocations: 0 / 441 MB, free: 4.242 MB / 350.1 MB Notification: Performance of Templates: time 0.008556/0.3757, allocations: 3.934 MB / 444.9 MB, free: 356 kB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/InvertingSchmittTrigger/InvertingSchmittTrigger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches