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.001797/0.001797, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.002176/0.002176, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.413/1.413, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.001492/0.001492, allocations: 51.92 kB / 373 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1055, allocations: 53.34 MB / 426.4 MB, free: 4.746 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.004407/0.1099, allocations: 2.783 MB / 429.1 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001399/0.1113, allocations: 0.7128 MB / 429.9 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000146/0.1114, allocations: 4 kB / 429.9 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001739/0.1116, allocations: 47.58 kB / 429.9 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002033/0.1118, allocations: 99.19 kB / 430 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002779/0.1121, allocations: 91.81 kB / 430.1 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004007/0.1125, allocations: 358.5 kB / 430.4 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001703/0.1127, allocations: 52.72 kB / 430.5 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001713/0.1128, allocations: 139.5 kB / 430.6 MB, free: 452 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001899/0.113, allocations: 155.4 kB / 430.8 MB, free: 296 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.844e-05/0.1131, allocations: 31.94 kB / 430.8 MB, free: 264 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.956e-05/0.1131, allocations: 32 kB / 430.8 MB, free: 232 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.729e-05/0.1132, allocations: 59.77 kB / 430.9 MB, free: 172 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001456/0.1133, allocations: 143.3 kB / 431 MB, free: 28 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2004/0.3137, allocations: 324.7 kB / 431.4 MB, free: 7.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.3137, allocations: 1.062 kB / 431.4 MB, free: 7.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3137, allocations: 0 / 431.4 MB, free: 7.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.167e-06/0.3137, allocations: 0 / 431.4 MB, free: 7.98 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.001334/0.3151, allocations: 0.6472 MB / 432 MB, free: 7.496 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.3151, allocations: 9.688 kB / 432 MB, free: 7.496 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.838e-05/0.3152, allocations: 57.67 kB / 432.1 MB, free: 7.457 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.726e-05/0.3153, allocations: 32.09 kB / 432.1 MB, free: 7.441 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000387/0.3156, allocations: 276.3 kB / 432.4 MB, free: 7.219 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.526e-05/0.3157, allocations: 16.41 kB / 432.4 MB, free: 7.219 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.433e-05/0.3157, allocations: 22.75 kB / 432.4 MB, free: 7.219 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006318/0.3163, allocations: 280 kB / 432.7 MB, free: 7.164 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.3164, allocations: 1.125 kB / 432.7 MB, free: 7.164 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.565e-05/0.3164, allocations: 5.281 kB / 432.7 MB, free: 7.164 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.3164, allocations: 8.656 kB / 432.7 MB, free: 7.164 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007477/0.3171, allocations: 249.8 kB / 432.9 MB, free: 7.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001462/0.3186, allocations: 0.945 MB / 433.9 MB, free: 6.676 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008115/0.3194, allocations: 230 kB / 434.1 MB, free: 6.652 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003237/0.3197, allocations: 96.92 kB / 434.2 MB, free: 6.645 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.452e-05/0.3198, allocations: 4.766 kB / 434.2 MB, free: 6.645 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004483/0.3202, allocations: 183.5 kB / 434.4 MB, free: 6.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.413e-06/0.3202, allocations: 1.25 kB / 434.4 MB, free: 6.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002457/0.3227, allocations: 0.651 MB / 435 MB, free: 6.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.703e-05/0.3227, allocations: 107.3 kB / 435.1 MB, free: 6.285 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000309/0.323, allocations: 265.1 kB / 435.4 MB, free: 6.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.3231, allocations: 31.14 kB / 435.4 MB, free: 6.148 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.181e-05/0.3232, allocations: 175.1 kB / 435.6 MB, free: 6.027 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.456e-05/0.3232, allocations: 43.64 kB / 435.7 MB, free: 6.004 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.608e-05/0.3233, allocations: 47.91 kB / 435.7 MB, free: 5.984 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.765e-05/0.3234, allocations: 337 kB / 436 MB, free: 5.668 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003504/0.3237, allocations: 101.4 kB / 436.1 MB, free: 5.664 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003639/0.3241, allocations: 167.8 kB / 436.3 MB, free: 5.582 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006577/0.3247, allocations: 273.3 kB / 436.6 MB, free: 5.477 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.3247, allocations: 0 / 436.6 MB, free: 5.477 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001213/0.3259, allocations: 431.8 kB / 437 MB, free: 5.383 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.688e-05/0.326, allocations: 38 kB / 437 MB, free: 5.352 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.326, allocations: 5.531 kB / 437 MB, free: 5.348 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004117/0.3264, allocations: 75.56 kB / 437.1 MB, free: 5.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002017/0.3266, allocations: 40.86 kB / 437.1 MB, free: 5.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00228/0.3289, allocations: 1.953 MB / 439.1 MB, free: 3.824 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003395/0.3292, allocations: 53.88 kB / 439.1 MB, free: 3.809 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.093e-05/0.3292, allocations: 8.094 kB / 439.1 MB, free: 3.809 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.0001263/0.3294, allocations: 139.7 kB / 439.3 MB, free: 3.691 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.918e-05/0.3294, allocations: 22.66 kB / 439.3 MB, free: 3.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.645e-05/0.3294, allocations: 32.98 kB / 439.3 MB, free: 3.672 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.3295, allocations: 2.188 kB / 439.3 MB, free: 3.672 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.3295, allocations: 0 / 439.3 MB, free: 3.672 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.3295, allocations: 1.172 kB / 439.3 MB, free: 3.672 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002516/0.3297, allocations: 292.7 kB / 439.6 MB, free: 3.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.3297, allocations: 1.5 kB / 439.6 MB, free: 3.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001419/0.3299, allocations: 39.11 kB / 439.7 MB, free: 3.477 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002844/0.3301, allocations: 70.84 kB / 439.7 MB, free: 3.469 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.3302, allocations: 10.23 kB / 439.7 MB, free: 3.465 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001903/0.3321, allocations: 1.75 MB / 441.5 MB, free: 2.094 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3321, allocations: 0 / 441.5 MB, free: 2.094 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00106/0.3331, allocations: 362.3 kB / 441.9 MB, free: 2.004 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.203e-05/0.3332, allocations: 100.7 kB / 441.9 MB, free: 1.895 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.507e-05/0.3332, allocations: 9.062 kB / 442 MB, free: 1.891 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002474/0.3335, allocations: 36.67 kB / 442 MB, free: 1.891 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.016e-05/0.3335, allocations: 17.89 kB / 442 MB, free: 1.891 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.31e-05/0.3335, allocations: 3.484 kB / 442 MB, free: 1.891 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001796/0.3337, allocations: 191 kB / 442.2 MB, free: 1.812 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3337, allocations: 4 kB / 442.2 MB, free: 1.809 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004018/0.3341, allocations: 73.55 kB / 442.3 MB, free: 1.801 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.001247/0.3354, allocations: 0.8948 MB / 443.2 MB, free: 1.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009738/0.3363, allocations: 402.9 kB / 443.6 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3364, allocations: 0 / 443.6 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004572/0.3368, allocations: 228.1 kB / 443.8 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000326/0.3371, allocations: 49.45 kB / 443.8 MB, free: 0.832 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005263/0.3424, allocations: 2.932 MB / 446.8 MB, free: 15.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004204/0.3428, allocations: 0.7461 MB / 447.5 MB, free: 14.31 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001264/0.3429, allocations: 25.94 kB / 447.5 MB, free: 14.31 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001453/0.3431, allocations: 77.55 kB / 447.6 MB, free: 14.25 MB / 366.1 MB Notification: Performance of SimCode: time 7.02e-07/0.3431, allocations: 0 / 447.6 MB, free: 14.25 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03387/0.377, allocations: 6.4 MB / 454 MB, free: 12.93 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/11.95, allocations: 10.59 kB / 454 MB, free: 12.93 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 & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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.csv","/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] "Error: Could not read variable opAmp.out.v in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.csv. Warning: Get data of variable opAmp.out.v from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.csv failed! Error: Could not read variable opAmp.out.i in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.csv. Warning: Get data of variable opAmp.out.i from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.41392536299827]