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.00189/0.00189, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.002321/0.002321, allocations: 215.9 kB / 23.73 MB, free: 4.41 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.418/1.418, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.001544/0.001544, allocations: 51.92 kB / 377.7 MB, free: 2.957 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2262/0.2278, allocations: 53.36 MB / 431.1 MB, free: 6.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.004037/0.2318, allocations: 2.609 MB / 433.7 MB, free: 4.039 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001197/0.233, allocations: 0.6817 MB / 434.4 MB, free: 3.352 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000131/0.2332, allocations: 7.938 kB / 434.4 MB, free: 3.344 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001534/0.2333, allocations: 43.56 kB / 434.5 MB, free: 3.301 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001905/0.2335, allocations: 91.25 kB / 434.5 MB, free: 3.211 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002648/0.2338, allocations: 99.81 kB / 434.6 MB, free: 3.113 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000388/0.2341, allocations: 350.6 kB / 435 MB, free: 2.77 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001615/0.2343, allocations: 56.69 kB / 435 MB, free: 2.715 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001713/0.2345, allocations: 147.4 kB / 435.2 MB, free: 2.57 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000178/0.2347, allocations: 127.4 kB / 435.3 MB, free: 2.445 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.355e-05/0.2347, allocations: 28 kB / 435.3 MB, free: 2.418 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.438e-05/0.2348, allocations: 32 kB / 435.4 MB, free: 2.387 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.97e-05/0.2348, allocations: 67.69 kB / 435.4 MB, free: 2.32 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001354/0.235, allocations: 127.4 kB / 435.6 MB, free: 2.195 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003624/0.2353, allocations: 312.6 kB / 435.9 MB, free: 1.891 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.2353, allocations: 4 kB / 435.9 MB, free: 1.887 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.2353, allocations: 0 / 435.9 MB, free: 1.887 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.347e-06/0.2354, allocations: 0 / 435.9 MB, free: 1.887 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.001184/0.2365, allocations: 0.5779 MB / 436.4 MB, free: 1.273 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.2366, allocations: 8.031 kB / 436.4 MB, free: 1.266 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.825e-05/0.2366, allocations: 58.73 kB / 436.5 MB, free: 1.199 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.467e-05/0.2367, allocations: 32.75 kB / 436.5 MB, free: 1.168 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003809/0.2371, allocations: 233.8 kB / 436.8 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.351e-05/0.2371, allocations: 20.78 kB / 436.8 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.834e-05/0.2371, allocations: 20.38 kB / 436.8 MB, free: 0.875 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006485/0.2378, allocations: 333.3 kB / 437.1 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.2378, allocations: 0 / 437.1 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.345e-05/0.2378, allocations: 4 kB / 437.1 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.197e-05/0.2378, allocations: 8 kB / 437.1 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007208/0.2386, allocations: 245.5 kB / 437.4 MB, free: 280 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00152/0.2401, allocations: 0.8474 MB / 438.2 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008113/0.2409, allocations: 230.6 kB / 438.5 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003247/0.2412, allocations: 100.7 kB / 438.6 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/0.2412, allocations: 0 / 438.6 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004771/0.2417, allocations: 235.8 kB / 438.8 MB, free: 14.76 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.072e-06/0.2417, allocations: 0 / 438.8 MB, free: 14.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002253/0.244, allocations: 0.5837 MB / 439.4 MB, free: 14.17 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.322e-05/0.244, allocations: 106.8 kB / 439.5 MB, free: 14.04 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002904/0.2443, allocations: 269.7 kB / 439.7 MB, free: 13.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.157e-05/0.2444, allocations: 33.7 kB / 439.8 MB, free: 13.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/0.2445, allocations: 176.1 kB / 439.9 MB, free: 13.55 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.498e-05/0.2445, allocations: 43.64 kB / 440 MB, free: 13.51 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.166e-05/0.2446, allocations: 41.7 kB / 440 MB, free: 13.46 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.2448, allocations: 330.8 kB / 440.3 MB, free: 13.13 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003644/0.2451, allocations: 129.6 kB / 440.5 MB, free: 13 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004285/0.2456, allocations: 249.5 kB / 440.7 MB, free: 12.71 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006718/0.2462, allocations: 268.3 kB / 441 MB, free: 12.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.2462, allocations: 4 kB / 441 MB, free: 12.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001197/0.2474, allocations: 464.3 kB / 441.4 MB, free: 11.94 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.7e-05/0.2475, allocations: 29.7 kB / 441.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.2475, allocations: 4 kB / 441.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000353/0.2478, allocations: 84.86 kB / 441.6 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001885/0.248, allocations: 39.91 kB / 441.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002611/0.2506, allocations: 1.836 MB / 443.4 MB, free: 9.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003016/0.2509, allocations: 47.97 kB / 443.5 MB, free: 9.773 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.507e-05/0.2509, allocations: 15.98 kB / 443.5 MB, free: 9.758 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.0001412/0.2511, allocations: 137.7 kB / 443.6 MB, free: 9.613 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.228e-05/0.2511, allocations: 31.78 kB / 443.7 MB, free: 9.582 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.554e-05/0.2512, allocations: 21.78 kB / 443.7 MB, free: 9.559 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.2512, allocations: 4 kB / 443.7 MB, free: 9.555 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.2512, allocations: 0 / 443.7 MB, free: 9.555 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.2512, allocations: 3.984 kB / 443.7 MB, free: 9.551 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000248/0.2514, allocations: 232.6 kB / 443.9 MB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.2514, allocations: 0 / 443.9 MB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001324/0.2516, allocations: 24.09 kB / 443.9 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000261/0.2518, allocations: 84.73 kB / 444 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.2518, allocations: 0 / 444 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00225/0.2541, allocations: 1.647 MB / 445.7 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2541, allocations: 0 / 445.7 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001037/0.2551, allocations: 360.6 kB / 446 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.097e-05/0.2552, allocations: 31.78 kB / 446 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.346e-05/0.2552, allocations: 0 / 446 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002367/0.2554, allocations: 39.89 kB / 446.1 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.312e-05/0.2555, allocations: 20.16 kB / 446.1 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/0.2555, allocations: 4 kB / 446.1 MB, free: 6.949 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001927/0.2557, allocations: 193.2 kB / 446.3 MB, free: 6.758 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2557, allocations: 0 / 446.3 MB, free: 6.758 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003485/0.2561, allocations: 79.84 kB / 446.4 MB, free: 6.68 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.001384/0.2575, allocations: 0.894 MB / 447.3 MB, free: 5.75 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009554/0.2584, allocations: 422.4 kB / 447.7 MB, free: 5.309 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.2584, allocations: 4 kB / 447.7 MB, free: 5.305 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004598/0.2589, allocations: 227 kB / 447.9 MB, free: 5.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000304/0.2592, allocations: 44.45 kB / 448 MB, free: 5.027 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005107/0.2643, allocations: 3.06 MB / 451 MB, free: 1.805 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001193/0.2644, allocations: 138.2 kB / 451.1 MB, free: 1.652 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001026/0.2645, allocations: 26.28 kB / 451.2 MB, free: 1.629 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000136/0.2646, allocations: 79.41 kB / 451.3 MB, free: 1.551 MB / 350.1 MB Notification: Performance of SimCode: time 8.12e-07/0.2646, allocations: 3.938 kB / 451.3 MB, free: 1.547 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03695/0.3016, allocations: 7.047 MB / 458.3 MB, free: 10.69 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.48/12.78, allocations: 5.953 kB / 458.3 MB, free: 10.69 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: 15.21548201981932]