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.001269/0.001269, allocations: 111.1 kB / 20.44 MB, free: 1.336 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.00137/0.00137, allocations: 212.2 kB / 23.73 MB, free: 4.516 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.397/1.397, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.001483/0.001483, allocations: 43.94 kB / 377.7 MB, free: 2.965 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2343/0.2358, allocations: 53.37 MB / 431.1 MB, free: 6.645 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.004098/0.2399, allocations: 2.609 MB / 433.7 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001283/0.2412, allocations: 0.6778 MB / 434.4 MB, free: 3.34 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001359/0.2413, allocations: 4 kB / 434.4 MB, free: 3.336 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001453/0.2415, allocations: 39.58 kB / 434.4 MB, free: 3.297 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001973/0.2417, allocations: 99.25 kB / 434.5 MB, free: 3.199 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002837/0.2419, allocations: 99.8 kB / 434.6 MB, free: 3.102 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003922/0.2423, allocations: 354.5 kB / 435 MB, free: 2.754 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001683/0.2425, allocations: 68.69 kB / 435.1 MB, free: 2.688 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001686/0.2427, allocations: 135.5 kB / 435.2 MB, free: 2.555 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001852/0.2429, allocations: 147.3 kB / 435.3 MB, free: 2.41 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.271e-05/0.2429, allocations: 32 kB / 435.4 MB, free: 2.379 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.31e-05/0.243, allocations: 28 kB / 435.4 MB, free: 2.352 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.446e-05/0.243, allocations: 63.75 kB / 435.5 MB, free: 2.289 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001329/0.2432, allocations: 123.5 kB / 435.6 MB, free: 2.168 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003551/0.2435, allocations: 328.5 kB / 435.9 MB, free: 1.848 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.2435, allocations: 0 / 435.9 MB, free: 1.848 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2435, allocations: 3.938 kB / 435.9 MB, free: 1.844 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.2435, allocations: 0 / 435.9 MB, free: 1.844 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.001211/0.2447, allocations: 0.5702 MB / 436.5 MB, free: 1.238 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.2448, allocations: 12.03 kB / 436.5 MB, free: 1.227 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.93e-05/0.2448, allocations: 54.72 kB / 436.5 MB, free: 1.164 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.714e-05/0.2449, allocations: 32.75 kB / 436.6 MB, free: 1.133 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003761/0.2453, allocations: 225.9 kB / 436.8 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.2453, allocations: 16.81 kB / 436.8 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.994e-05/0.2453, allocations: 20.38 kB / 436.8 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006398/0.246, allocations: 333.2 kB / 437.1 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.246, allocations: 0 / 437.1 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.618e-05/0.246, allocations: 12 kB / 437.2 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.976e-06/0.246, allocations: 7.984 kB / 437.2 MB, free: 496 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000702/0.2467, allocations: 241.6 kB / 437.4 MB, free: 252 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001502/0.2482, allocations: 0.8512 MB / 438.3 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008071/0.249, allocations: 234.5 kB / 438.5 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000316/0.2494, allocations: 96.78 kB / 438.6 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.886e-05/0.2494, allocations: 7.969 kB / 438.6 MB, free: 14.99 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004768/0.2499, allocations: 237.1 kB / 438.8 MB, free: 14.72 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.282e-06/0.2499, allocations: 0 / 438.8 MB, free: 14.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002173/0.252, allocations: 0.5721 MB / 439.4 MB, free: 14.14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.519e-05/0.2521, allocations: 110.8 kB / 439.5 MB, free: 14.01 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002797/0.2524, allocations: 269.8 kB / 439.8 MB, free: 13.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.2524, allocations: 25.7 kB / 439.8 MB, free: 13.7 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001328/0.2526, allocations: 180.1 kB / 440 MB, free: 13.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.825e-05/0.2526, allocations: 47.58 kB / 440 MB, free: 13.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.026e-05/0.2527, allocations: 45.7 kB / 440.1 MB, free: 13.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.2528, allocations: 330.8 kB / 440.4 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003422/0.2532, allocations: 125.6 kB / 440.5 MB, free: 12.96 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004159/0.2536, allocations: 249.6 kB / 440.7 MB, free: 12.67 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000651/0.2542, allocations: 271.6 kB / 441 MB, free: 12.38 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.2542, allocations: 0 / 441 MB, free: 12.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001171/0.2554, allocations: 461.4 kB / 441.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.824e-05/0.2554, allocations: 37.69 kB / 441.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.2554, allocations: 0 / 441.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000352/0.2558, allocations: 80.86 kB / 441.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001971/0.256, allocations: 43.91 kB / 441.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00264/0.2586, allocations: 1.832 MB / 443.4 MB, free: 9.789 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002859/0.2589, allocations: 47.88 kB / 443.5 MB, free: 9.742 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.782e-05/0.2589, allocations: 8 kB / 443.5 MB, free: 9.734 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.0001534/0.2591, allocations: 148.4 kB / 443.6 MB, free: 9.582 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.793e-05/0.2591, allocations: 23.8 kB / 443.7 MB, free: 9.559 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.034e-05/0.2592, allocations: 29.7 kB / 443.7 MB, free: 9.527 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.2592, allocations: 4.062 kB / 443.7 MB, free: 9.523 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.2592, allocations: 0 / 443.7 MB, free: 9.523 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.2592, allocations: 0 / 443.7 MB, free: 9.523 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002538/0.2594, allocations: 240.6 kB / 443.9 MB, free: 9.246 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.2594, allocations: 0 / 443.9 MB, free: 9.246 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001368/0.2596, allocations: 28.09 kB / 444 MB, free: 9.219 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002615/0.2598, allocations: 84.67 kB / 444 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/0.2598, allocations: 4 kB / 444.1 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002199/0.262, allocations: 1.639 MB / 445.7 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.262, allocations: 0 / 445.7 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.2631, allocations: 361.2 kB / 446 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.931e-05/0.2631, allocations: 27.78 kB / 446.1 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.509e-05/0.2631, allocations: 7.938 kB / 446.1 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002309/0.2634, allocations: 32.16 kB / 446.1 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.111e-05/0.2635, allocations: 27.95 kB / 446.1 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/0.2635, allocations: 8 kB / 446.1 MB, free: 6.906 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001961/0.2637, allocations: 185.2 kB / 446.3 MB, free: 6.723 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2637, allocations: 0 / 446.3 MB, free: 6.723 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003582/0.264, allocations: 75.84 kB / 446.4 MB, free: 6.648 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.00135/0.2654, allocations: 0.8901 MB / 447.3 MB, free: 5.723 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009904/0.2664, allocations: 435.6 kB / 447.7 MB, free: 5.266 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2664, allocations: 0 / 447.7 MB, free: 5.266 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000462/0.2668, allocations: 222.6 kB / 447.9 MB, free: 5.035 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003251/0.2672, allocations: 55.09 kB / 448 MB, free: 4.984 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005076/0.2722, allocations: 3.053 MB / 451 MB, free: 1.773 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001292/0.2724, allocations: 142.2 kB / 451.2 MB, free: 1.617 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.345e-05/0.2724, allocations: 22.28 kB / 451.2 MB, free: 1.598 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001183/0.2726, allocations: 75.41 kB / 451.3 MB, free: 1.523 MB / 350.1 MB Notification: Performance of SimCode: time 6.92e-07/0.2726, allocations: 4 kB / 451.3 MB, free: 1.52 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03711/0.3097, allocations: 7.111 MB / 458.4 MB, free: 10.6 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.16/12.47, allocations: 18.73 kB / 458.4 MB, free: 10.59 MB / 366.1 MB " [Timeout remaining time 647] (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.820308993017534]