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.001554/0.001554, allocations: 116.4 kB / 18.5 MB, free: 4.574 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.001957/0.001957, allocations: 208.9 kB / 21.46 MB, free: 1.617 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.495/1.495, allocations: 230.2 MB / 254.5 MB, free: 15.27 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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001855/0.001855, allocations: 59.91 kB / 373.4 MB, free: 10.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.122, allocations: 53.33 MB / 426.7 MB, free: 4.953 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.004468/0.1265, allocations: 2.78 MB / 429.5 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001523/0.128, allocations: 0.7128 MB / 430.2 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001894/0.1282, allocations: 4 kB / 430.2 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001681/0.1284, allocations: 43.58 kB / 430.2 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002224/0.1286, allocations: 95.19 kB / 430.3 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003082/0.1289, allocations: 99.81 kB / 430.4 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000446/0.1293, allocations: 358.5 kB / 430.8 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001913/0.1295, allocations: 60.7 kB / 430.8 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002046/0.1297, allocations: 131.5 kB / 431 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002148/0.1299, allocations: 151.3 kB / 431.1 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.568e-05/0.13, allocations: 28 kB / 431.2 MB, free: 492 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.439e-05/0.1301, allocations: 32 kB / 431.2 MB, free: 460 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.55e-05/0.1301, allocations: 63.73 kB / 431.2 MB, free: 396 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001599/0.1303, allocations: 143.3 kB / 431.4 MB, free: 252 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2428/0.3731, allocations: 329.3 kB / 431.7 MB, free: 8.359 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.3731, allocations: 1.484 kB / 431.7 MB, free: 8.359 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3731, allocations: 0 / 431.7 MB, free: 8.359 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.159e-05/0.3731, allocations: 0 / 431.7 MB, free: 8.359 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.001327/0.3744, allocations: 0.6487 MB / 432.4 MB, free: 7.887 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.3745, allocations: 9.406 kB / 432.4 MB, free: 7.887 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.952e-05/0.3745, allocations: 54.64 kB / 432.4 MB, free: 7.848 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.76e-05/0.3746, allocations: 33.64 kB / 432.5 MB, free: 7.832 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004047/0.375, allocations: 276.1 kB / 432.7 MB, free: 7.609 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.441e-05/0.375, allocations: 15.16 kB / 432.7 MB, free: 7.609 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.95e-05/0.3751, allocations: 21.59 kB / 432.8 MB, free: 7.609 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006617/0.3757, allocations: 282.1 kB / 433 MB, free: 7.555 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.3758, allocations: 0 / 433 MB, free: 7.555 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.554e-05/0.3758, allocations: 11.47 kB / 433 MB, free: 7.555 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.137e-05/0.3758, allocations: 4.344 kB / 433 MB, free: 7.555 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007255/0.3765, allocations: 242.6 kB / 433.3 MB, free: 7.551 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001425/0.378, allocations: 0.9517 MB / 434.2 MB, free: 7.066 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007222/0.3787, allocations: 231.2 kB / 434.5 MB, free: 7.043 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002956/0.379, allocations: 99.47 kB / 434.6 MB, free: 7.035 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.436e-05/0.379, allocations: 3.016 kB / 434.6 MB, free: 7.035 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004485/0.3794, allocations: 177.5 kB / 434.7 MB, free: 6.961 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 2.264e-06/0.3794, allocations: 3.438 kB / 434.7 MB, free: 6.961 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002218/0.3817, allocations: 0.6481 MB / 435.4 MB, free: 6.805 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.446e-05/0.3817, allocations: 106 kB / 435.5 MB, free: 6.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003017/0.382, allocations: 271.4 kB / 435.8 MB, free: 6.566 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.83e-05/0.382, allocations: 31.28 kB / 435.8 MB, free: 6.535 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.3822, allocations: 178.2 kB / 436 MB, free: 6.414 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.448e-05/0.3822, allocations: 42.42 kB / 436 MB, free: 6.391 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.44e-05/0.3823, allocations: 50.47 kB / 436.1 MB, free: 6.371 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.867e-05/0.3824, allocations: 334 kB / 436.4 MB, free: 6.055 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003427/0.3827, allocations: 103 kB / 436.5 MB, free: 6.051 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003624/0.3831, allocations: 164.8 kB / 436.6 MB, free: 5.969 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006783/0.3837, allocations: 264.8 kB / 436.9 MB, free: 5.867 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.3837, allocations: 1.719 kB / 436.9 MB, free: 5.867 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001302/0.385, allocations: 435.4 kB / 437.3 MB, free: 5.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.924e-05/0.3851, allocations: 35.08 kB / 437.4 MB, free: 5.738 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.3851, allocations: 2.188 kB / 437.4 MB, free: 5.738 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004355/0.3855, allocations: 82.84 kB / 437.4 MB, free: 5.727 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002155/0.3858, allocations: 40.55 kB / 437.5 MB, free: 5.727 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002556/0.3883, allocations: 1.949 MB / 439.4 MB, free: 4.211 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003802/0.3887, allocations: 53.12 kB / 439.5 MB, free: 4.195 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.508e-05/0.3887, allocations: 11.25 kB / 439.5 MB, free: 4.195 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.0001598/0.3889, allocations: 137 kB / 439.6 MB, free: 4.082 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.181e-05/0.3889, allocations: 29.81 kB / 439.7 MB, free: 4.066 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.235e-05/0.389, allocations: 29.77 kB / 439.7 MB, free: 4.059 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.389, allocations: 3.719 kB / 439.7 MB, free: 4.059 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.389, allocations: 1.422 kB / 439.7 MB, free: 4.059 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.389, allocations: 1.781 kB / 439.7 MB, free: 4.059 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003037/0.3893, allocations: 291.7 kB / 440 MB, free: 3.867 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3893, allocations: 1.719 kB / 440 MB, free: 3.867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001442/0.3894, allocations: 26.44 kB / 440 MB, free: 3.867 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002809/0.3897, allocations: 80.23 kB / 440.1 MB, free: 3.855 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.637e-05/0.3897, allocations: 5.797 kB / 440.1 MB, free: 3.852 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002019/0.3918, allocations: 1.753 MB / 441.8 MB, free: 2.484 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.3918, allocations: 1.25 kB / 441.8 MB, free: 2.484 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001065/0.3928, allocations: 361.6 kB / 442.2 MB, free: 2.391 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.145e-05/0.3929, allocations: 101.7 kB / 442.3 MB, free: 2.285 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.807e-05/0.3929, allocations: 13.69 kB / 442.3 MB, free: 2.281 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002413/0.3932, allocations: 33.64 kB / 442.3 MB, free: 2.277 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.082e-05/0.3932, allocations: 21.97 kB / 442.4 MB, free: 2.277 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.3933, allocations: 7.484 kB / 442.4 MB, free: 2.277 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001836/0.3934, allocations: 187.9 kB / 442.6 MB, free: 2.199 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3934, allocations: 0.8438 kB / 442.6 MB, free: 2.199 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003836/0.3938, allocations: 74.31 kB / 442.6 MB, free: 2.191 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.001206/0.395, allocations: 0.8862 MB / 443.5 MB, free: 1.57 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009381/0.396, allocations: 408.4 kB / 443.9 MB, free: 1.391 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.396, allocations: 6.281 kB / 443.9 MB, free: 1.387 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004268/0.3964, allocations: 224.2 kB / 444.1 MB, free: 1.258 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003293/0.3967, allocations: 48.91 kB / 444.2 MB, free: 1.242 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005276/0.402, allocations: 2.944 MB / 447.1 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004341/0.4024, allocations: 0.7496 MB / 447.9 MB, free: 14.76 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001413/0.4026, allocations: 25.62 kB / 447.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001287/0.4027, allocations: 76.14 kB / 448 MB, free: 14.7 MB / 366.1 MB Notification: Performance of SimCode: time 9.02e-07/0.4027, allocations: 3.938 kB / 448 MB, free: 14.69 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0371/0.4398, allocations: 6.404 MB / 454.4 MB, free: 13.39 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/12.39, allocations: 1.094 kB / 454.4 MB, free: 13.39 MB / 366.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/SchmittTrigger/SchmittTrigger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 14.877340815030038]