Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001661/0.001661, allocations: 123 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001658/0.001658, allocations: 189.2 kB / 20.73 MB, free: 2.328 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.534/1.534, allocations: 225.6 MB / 249.1 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00168/0.00168, allocations: 55.91 kB / 365.6 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1115, allocations: 52.14 MB / 417.8 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.003425/0.1149, allocations: 1.87 MB / 419.7 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001314/0.1162, allocations: 0.6894 MB / 420.3 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001042/0.1164, allocations: 7.938 kB / 420.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001441/0.1165, allocations: 19.8 kB / 420.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001404/0.1166, allocations: 23.8 kB / 420.4 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005781/0.1172, allocations: 155.6 kB / 420.6 MB, free: 9.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002425/0.1175, allocations: 147.6 kB / 420.7 MB, free: 9.785 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001427/0.1176, allocations: 49.53 kB / 420.7 MB, free: 9.738 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001299/0.1177, allocations: 63.7 kB / 420.8 MB, free: 9.676 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001211/0.1179, allocations: 55.7 kB / 420.9 MB, free: 9.621 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.326e-05/0.1179, allocations: 12 kB / 420.9 MB, free: 9.609 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001078/0.118, allocations: 47.97 kB / 420.9 MB, free: 9.562 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.688e-05/0.1181, allocations: 47.77 kB / 421 MB, free: 9.516 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000103/0.1182, allocations: 71.53 kB / 421 MB, free: 9.445 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003266/0.1185, allocations: 203.1 kB / 421.2 MB, free: 9.246 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1185, allocations: 0 / 421.2 MB, free: 9.246 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1185, allocations: 3.938 kB / 421.2 MB, free: 9.242 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.125e-05/0.1185, allocations: 4 kB / 421.2 MB, free: 9.238 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008377/0.1194, allocations: 481.1 kB / 421.7 MB, free: 8.723 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.1194, allocations: 12.02 kB / 421.7 MB, free: 8.711 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.084e-05/0.1195, allocations: 38.75 kB / 421.8 MB, free: 8.664 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.008e-05/0.1195, allocations: 20.78 kB / 421.8 MB, free: 8.645 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003806/0.1199, allocations: 256 kB / 422 MB, free: 8.355 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/0.1199, allocations: 4.562 kB / 422 MB, free: 8.352 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.164e-05/0.1199, allocations: 15.94 kB / 422.1 MB, free: 8.336 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007935/0.1207, allocations: 315.2 kB / 422.4 MB, free: 8.008 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.1207, allocations: 0 / 422.4 MB, free: 8.008 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.858e-05/0.1208, allocations: 4 kB / 422.4 MB, free: 8.004 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.75e-06/0.1208, allocations: 0 / 422.4 MB, free: 8.004 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002595/0.121, allocations: 87.88 kB / 422.4 MB, free: 7.918 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005483/0.1216, allocations: 349.5 kB / 422.8 MB, free: 7.523 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005715/0.1222, allocations: 262.4 kB / 423 MB, free: 7.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002166/0.1224, allocations: 89.73 kB / 423.1 MB, free: 7.137 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007905/0.1232, allocations: 0.5817 MB / 423.7 MB, free: 6.426 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.856e-05/0.1232, allocations: 38.56 kB / 423.8 MB, free: 6.379 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.944e-06/0.1232, allocations: 0 / 423.8 MB, free: 6.379 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0007039/0.1239, allocations: 245.2 kB / 424 MB, free: 6.133 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001183/0.124, allocations: 118.8 kB / 424.1 MB, free: 5.992 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002465/0.1243, allocations: 195.1 kB / 424.3 MB, free: 5.793 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.936e-05/0.1243, allocations: 33.83 kB / 424.3 MB, free: 5.754 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.1244, allocations: 100.6 kB / 424.4 MB, free: 5.648 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.038e-05/0.1245, allocations: 19.89 kB / 424.4 MB, free: 5.629 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.442e-05/0.1245, allocations: 41.7 kB / 424.5 MB, free: 5.582 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001749/0.1247, allocations: 322.8 kB / 424.8 MB, free: 5.258 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/0.1248, allocations: 39.97 kB / 424.8 MB, free: 5.219 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002087/0.125, allocations: 165.1 kB / 425 MB, free: 4.996 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002832/0.1253, allocations: 204.1 kB / 425.2 MB, free: 4.738 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.1253, allocations: 0 / 425.2 MB, free: 4.738 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000403/0.1257, allocations: 225.2 kB / 425.4 MB, free: 4.512 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.68e-05/0.1257, allocations: 8 kB / 425.4 MB, free: 4.504 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.1257, allocations: 4 kB / 425.4 MB, free: 4.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.313e-05/0.1258, allocations: 4 kB / 425.4 MB, free: 4.496 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001686/0.1259, allocations: 47.91 kB / 425.5 MB, free: 4.449 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.487e-05/0.1259, allocations: 8 kB / 425.5 MB, free: 4.441 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001185/0.1261, allocations: 16.33 kB / 425.5 MB, free: 4.426 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.122e-05/0.1261, allocations: 16 kB / 425.5 MB, free: 4.41 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 6 ($CLKPRE.sample1.noise.seedState[3],sample1.noise.seedState[3],$CLKPRE.sample1.noise.seedState[2],sample1.noise.seedState[2],$CLKPRE.sample1.noise.seedState[1],sample1.noise.seedState[1]) * Number of discrete states: 0 () * Number of clocked states: 3 (sample1.noise.seedState[3],sample1.noise.seedState[2],sample1.noise.seedState[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001913/0.1263, allocations: 149.7 kB / 425.7 MB, free: 4.254 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003617/0.1266, allocations: 163.8 kB / 425.8 MB, free: 4.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004312/0.1271, allocations: 191.2 kB / 426 MB, free: 3.891 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.91e-06/0.1271, allocations: 3.938 kB / 426 MB, free: 3.887 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.1271, allocations: 8 kB / 426 MB, free: 3.879 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.1271, allocations: 0 / 426 MB, free: 3.879 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00032/0.1274, allocations: 229.5 kB / 426.3 MB, free: 3.605 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.194e-06/0.1274, allocations: 0 / 426.3 MB, free: 3.605 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001533/0.1276, allocations: 35.98 kB / 426.3 MB, free: 3.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.1276, allocations: 3.938 kB / 426.3 MB, free: 3.566 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.799e-05/0.1276, allocations: 7.984 kB / 426.3 MB, free: 3.559 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1276, allocations: 0 / 426.3 MB, free: 3.559 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.1276, allocations: 0 / 426.3 MB, free: 3.559 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004842/0.1281, allocations: 292.1 kB / 426.6 MB, free: 3.254 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001543/0.1282, allocations: 113 kB / 426.7 MB, free: 3.125 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.625e-05/0.1283, allocations: 4 kB / 426.7 MB, free: 3.121 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/0.1284, allocations: 15.98 kB / 426.7 MB, free: 3.105 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.919e-05/0.1284, allocations: 0 / 426.7 MB, free: 3.105 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.641e-05/0.1285, allocations: 4 kB / 426.7 MB, free: 3.102 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001536/0.1286, allocations: 151.4 kB / 426.9 MB, free: 2.953 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1286, allocations: 0 / 426.9 MB, free: 2.953 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003613/0.129, allocations: 31.98 kB / 426.9 MB, free: 2.922 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Number of discrete states: 0 () * Number of clocked states: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001122/0.1301, allocations: 0.9295 MB / 427.8 MB, free: 1.965 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003803/0.1305, allocations: 142.9 kB / 428 MB, free: 1.828 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1305, allocations: 256 / 428 MB, free: 1.828 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.271e-05/0.1305, allocations: 15.94 kB / 428 MB, free: 1.812 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006429/0.1312, allocations: 139.8 kB / 428.1 MB, free: 1.672 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002674/0.1338, allocations: 2.167 MB / 430.3 MB, free: 15.31 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004017/0.1342, allocations: 0.7435 MB / 431 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.368e-05/0.1343, allocations: 17.55 kB / 431 MB, free: 14.52 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.15e-05/0.1344, allocations: 39.42 kB / 431.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1344, allocations: 0 / 431.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02678/0.1612, allocations: 4.285 MB / 435.4 MB, free: 10.36 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.651/8.813, allocations: 0 / 435.4 MB, free: 10.36 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.99122e-05 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleWithADeffects/SampleWithADeffects.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable sample1.y in file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_res.csv. Warning: Get data of variable sample1.y from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_res.csv failed! " [Timeout remaining time 660] "" Variables in the reference:time,assignClock.y,sample1.y Variables in the result:time,assignClock.u,assignClock.y,sample1.limiter.u,sample1.limiter.y,sample1.noise.u [Calling sys.exit(0), Time elapsed: 11.774085539393127]