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.001417/0.001417, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001463/0.001463, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.437/1.437, allocations: 230.6 MB / 254.1 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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001657/0.001657, allocations: 59.92 kB / 373 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09861/0.1003, allocations: 53.34 MB / 426.4 MB, free: 4.758 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.004519/0.1048, allocations: 2.771 MB / 429.1 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001549/0.1063, allocations: 0.7129 MB / 429.9 MB, free: 1.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002415/0.1066, allocations: 7.938 kB / 429.9 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001904/0.1068, allocations: 39.58 kB / 429.9 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002781/0.107, allocations: 95.25 kB / 430 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003584/0.1074, allocations: 91.81 kB / 430.1 MB, free: 1.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005042/0.1079, allocations: 362.5 kB / 430.4 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000191/0.1081, allocations: 60.7 kB / 430.5 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002425/0.1083, allocations: 143.4 kB / 430.6 MB, free: 468 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002318/0.1086, allocations: 147.3 kB / 430.8 MB, free: 320 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.483e-05/0.1086, allocations: 31.98 kB / 430.8 MB, free: 288 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.414e-05/0.1087, allocations: 28 kB / 430.8 MB, free: 260 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.802e-05/0.1088, allocations: 63.81 kB / 430.9 MB, free: 196 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00016/0.1089, allocations: 139.3 kB / 431 MB, free: 56 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1947/0.3036, allocations: 326.5 kB / 431.4 MB, free: 7.602 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.3036, allocations: 0 / 431.4 MB, free: 7.602 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3036, allocations: 0 / 431.4 MB, free: 7.602 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.3036, allocations: 0 / 431.4 MB, free: 7.602 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.001173/0.3048, allocations: 0.6528 MB / 432 MB, free: 7.117 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.3048, allocations: 9.5 kB / 432 MB, free: 7.117 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.785e-05/0.3049, allocations: 53.38 kB / 432.1 MB, free: 7.078 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.256e-05/0.3049, allocations: 34.16 kB / 432.1 MB, free: 7.062 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003543/0.3053, allocations: 275 kB / 432.4 MB, free: 6.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.127e-05/0.3053, allocations: 22.25 kB / 432.4 MB, free: 6.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.836e-05/0.3054, allocations: 18.22 kB / 432.4 MB, free: 6.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006256/0.306, allocations: 282.5 kB / 432.7 MB, free: 6.785 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.306, allocations: 1.156 kB / 432.7 MB, free: 6.785 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.528e-05/0.306, allocations: 5.125 kB / 432.7 MB, free: 6.785 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.306, allocations: 8.125 kB / 432.7 MB, free: 6.785 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000742/0.3068, allocations: 248 kB / 432.9 MB, free: 6.781 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001378/0.3082, allocations: 0.9503 MB / 433.9 MB, free: 6.297 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008039/0.309, allocations: 227.4 kB / 434.1 MB, free: 6.273 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003289/0.3093, allocations: 98.33 kB / 434.2 MB, free: 6.266 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.93e-05/0.3093, allocations: 6.359 kB / 434.2 MB, free: 6.266 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004456/0.3098, allocations: 179.3 kB / 434.4 MB, free: 6.191 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.483e-06/0.3098, allocations: 4 kB / 434.4 MB, free: 6.188 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002359/0.3121, allocations: 0.6477 MB / 435 MB, free: 6.031 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.377e-05/0.3122, allocations: 112.8 kB / 435.2 MB, free: 5.902 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002675/0.3124, allocations: 265.6 kB / 435.4 MB, free: 5.797 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.406e-05/0.3125, allocations: 32.47 kB / 435.4 MB, free: 5.766 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.823e-05/0.3125, allocations: 176.2 kB / 435.6 MB, free: 5.645 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.37e-05/0.3126, allocations: 41.36 kB / 435.7 MB, free: 5.621 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.794e-05/0.3127, allocations: 45.92 kB / 435.7 MB, free: 5.602 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.608e-05/0.3127, allocations: 337.9 kB / 436 MB, free: 5.285 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003445/0.3131, allocations: 97.33 kB / 436.1 MB, free: 5.281 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003815/0.3134, allocations: 168.8 kB / 436.3 MB, free: 5.199 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006533/0.3141, allocations: 268.2 kB / 436.6 MB, free: 5.098 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.3141, allocations: 1.781 kB / 436.6 MB, free: 5.098 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001187/0.3153, allocations: 434.8 kB / 437 MB, free: 5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.419e-05/0.3153, allocations: 35.23 kB / 437 MB, free: 4.969 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.3153, allocations: 3.625 kB / 437 MB, free: 4.969 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003768/0.3157, allocations: 82.94 kB / 437.1 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001929/0.3159, allocations: 38.03 kB / 437.1 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002273/0.3182, allocations: 1.95 MB / 439.1 MB, free: 3.441 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003594/0.3185, allocations: 57.72 kB / 439.1 MB, free: 3.426 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.555e-05/0.3186, allocations: 7.203 kB / 439.1 MB, free: 3.426 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.0001245/0.3187, allocations: 140.1 kB / 439.3 MB, free: 3.309 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.877e-05/0.3187, allocations: 22.73 kB / 439.3 MB, free: 3.297 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.695e-05/0.3188, allocations: 33.67 kB / 439.3 MB, free: 3.289 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.3188, allocations: 1.781 kB / 439.3 MB, free: 3.289 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.534e-06/0.3188, allocations: 0 / 439.3 MB, free: 3.289 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3188, allocations: 0.7031 kB / 439.3 MB, free: 3.289 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002366/0.319, allocations: 295.6 kB / 439.6 MB, free: 3.098 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.319, allocations: 0.75 kB / 439.6 MB, free: 3.098 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001407/0.3192, allocations: 30.16 kB / 439.7 MB, free: 3.094 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002764/0.3194, allocations: 74.83 kB / 439.7 MB, free: 3.086 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.65e-05/0.3194, allocations: 6.641 kB / 439.7 MB, free: 3.082 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001945/0.3214, allocations: 1.762 MB / 441.5 MB, free: 1.711 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.267e-06/0.3214, allocations: 3.703 kB / 441.5 MB, free: 1.711 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001064/0.3225, allocations: 355.7 kB / 441.9 MB, free: 1.621 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.947e-05/0.3225, allocations: 100.6 kB / 442 MB, free: 1.516 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.601e-05/0.3226, allocations: 10.75 kB / 442 MB, free: 1.508 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002455/0.3228, allocations: 34.28 kB / 442 MB, free: 1.508 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.848e-05/0.3229, allocations: 22.19 kB / 442 MB, free: 1.508 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.3229, allocations: 3.375 kB / 442 MB, free: 1.508 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000173/0.3231, allocations: 194.2 kB / 442.2 MB, free: 1.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3231, allocations: 0 / 442.2 MB, free: 1.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003793/0.3234, allocations: 74.22 kB / 442.3 MB, free: 1.418 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.001235/0.3247, allocations: 0.8913 MB / 443.2 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009817/0.3257, allocations: 401.1 kB / 443.6 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.3257, allocations: 0 / 443.6 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004415/0.3261, allocations: 226 kB / 443.8 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003372/0.3264, allocations: 56.06 kB / 443.8 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005475/0.3319, allocations: 2.937 MB / 446.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004091/0.3323, allocations: 0.7465 MB / 447.5 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001269/0.3325, allocations: 24.12 kB / 447.5 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001503/0.3326, allocations: 77.55 kB / 447.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of SimCode: time 9.71e-07/0.3326, allocations: 0 / 447.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03657/0.3692, allocations: 6.397 MB / 454 MB, free: 12.81 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/11.95, allocations: 7.672 kB / 454 MB, free: 12.81 MB / 366.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/SchmittTrigger/SchmittTrigger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.290133330971003]