Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001137/0.001137, allocations: 103.7 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001353/0.001353, allocations: 208.6 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.451/1.451, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 59.72 kB / 307.1 MB, free: 0.5391 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1104, allocations: 50.54 MB / 357.6 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.003172/0.1136, allocations: 1.582 MB / 359.2 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001121/0.1147, allocations: 0.5376 MB / 359.7 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001087/0.1149, allocations: 4 kB / 359.7 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.604e-05/0.115, allocations: 3.938 kB / 359.7 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001589/0.1151, allocations: 11.88 kB / 359.7 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003862/0.1155, allocations: 51.81 kB / 359.8 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000114/0.1157, allocations: 39.92 kB / 359.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.1158, allocations: 31.95 kB / 359.8 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001352/0.1159, allocations: 23.88 kB / 359.9 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.63e-05/0.116, allocations: 19.86 kB / 359.9 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.952e-05/0.116, allocations: 4 kB / 359.9 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.478e-05/0.1161, allocations: 4 kB / 359.9 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.602e-05/0.1162, allocations: 15.92 kB / 359.9 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.4e-05/0.1162, allocations: 35.78 kB / 359.9 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001546/0.1164, allocations: 47.83 kB / 360 MB, free: 11.59 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1164, allocations: 0 / 360 MB, free: 11.59 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1164, allocations: 0 / 360 MB, free: 11.59 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.752e-06/0.1164, allocations: 0 / 360 MB, free: 11.59 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000535/0.117, allocations: 395.2 kB / 360.4 MB, free: 11.15 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.117, allocations: 12.03 kB / 360.4 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.938e-05/0.1171, allocations: 30.75 kB / 360.4 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001907/0.1173, allocations: 20.83 kB / 360.4 MB, free: 11.08 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002265/0.1175, allocations: 192.1 kB / 360.6 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.1175, allocations: 8.312 kB / 360.6 MB, free: 10.85 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.393e-05/0.1175, allocations: 4.375 kB / 360.6 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002773/0.1178, allocations: 121.2 kB / 360.8 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.1178, allocations: 0 / 360.8 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-06/0.1178, allocations: 0 / 360.8 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.1179, allocations: 0 / 360.8 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.575e-05/0.1179, allocations: 23.92 kB / 360.8 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003107/0.1183, allocations: 269.7 kB / 361 MB, free: 10.37 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000206/0.1185, allocations: 138.2 kB / 361.2 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.126e-05/0.1186, allocations: 33.77 kB / 361.2 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.578e-05/0.1186, allocations: 0 / 361.2 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.1186, allocations: 38.55 kB / 361.3 MB, free: 10.11 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.1186, allocations: 0 / 361.3 MB, free: 10.11 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002624/0.1189, allocations: 77.66 kB / 361.3 MB, free: 10.03 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.44e-05/0.119, allocations: 85.14 kB / 361.4 MB, free: 9.926 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.1191, allocations: 148.7 kB / 361.6 MB, free: 9.773 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.1191, allocations: 25.7 kB / 361.6 MB, free: 9.742 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.521e-05/0.1192, allocations: 84.14 kB / 361.7 MB, free: 9.656 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.042e-05/0.1192, allocations: 11.91 kB / 361.7 MB, free: 9.645 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.455e-05/0.1193, allocations: 17.72 kB / 361.7 MB, free: 9.621 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.1194, allocations: 322.8 kB / 362 MB, free: 9.297 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.397e-05/0.1195, allocations: 4 kB / 362 MB, free: 9.293 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.242e-05/0.1196, allocations: 47.3 kB / 362.1 MB, free: 9.234 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.877e-05/0.1197, allocations: 47.36 kB / 362.1 MB, free: 9.176 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1197, allocations: 0 / 362.1 MB, free: 9.176 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001436/0.1198, allocations: 73.61 kB / 362.2 MB, free: 9.098 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.1198, allocations: 4 kB / 362.2 MB, free: 9.094 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.1199, allocations: 0 / 362.2 MB, free: 9.094 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.1199, allocations: 4 kB / 362.2 MB, free: 9.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.092e-05/0.1199, allocations: 11.98 kB / 362.2 MB, free: 9.078 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.565e-06/0.12, allocations: 0 / 362.2 MB, free: 9.078 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.417e-05/0.12, allocations: 7.906 kB / 362.2 MB, free: 9.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.12, allocations: 0 / 362.2 MB, free: 9.07 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 9.991e-05/0.1201, allocations: 130.9 kB / 362.3 MB, free: 8.934 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.524e-05/0.1202, allocations: 49.59 kB / 362.4 MB, free: 8.879 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.399e-05/0.1203, allocations: 16.23 kB / 362.4 MB, free: 8.855 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.1203, allocations: 3.938 kB / 362.4 MB, free: 8.852 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.1203, allocations: 4 kB / 362.4 MB, free: 8.848 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.1203, allocations: 0 / 362.4 MB, free: 8.848 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002176/0.1205, allocations: 169.6 kB / 362.6 MB, free: 8.633 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.1205, allocations: 8 kB / 362.6 MB, free: 8.625 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.66e-05/0.1206, allocations: 7.984 kB / 362.6 MB, free: 8.617 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.97e-06/0.1206, allocations: 8 kB / 362.6 MB, free: 8.609 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.1206, allocations: 0 / 362.6 MB, free: 8.609 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.1206, allocations: 0 / 362.6 MB, free: 8.609 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1207, allocations: 0 / 362.6 MB, free: 8.609 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002303/0.1209, allocations: 172.2 kB / 362.8 MB, free: 8.422 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.317e-05/0.121, allocations: 93 kB / 362.9 MB, free: 8.312 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/0.121, allocations: 4 kB / 362.9 MB, free: 8.309 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.666e-05/0.1211, allocations: 4 kB / 362.9 MB, free: 8.305 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.579e-05/0.1211, allocations: 0 / 362.9 MB, free: 8.305 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.1211, allocations: 4 kB / 362.9 MB, free: 8.301 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.059e-05/0.1212, allocations: 109.7 kB / 363 MB, free: 8.195 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1212, allocations: 0 / 363 MB, free: 8.195 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002416/0.1215, allocations: 8 kB / 363 MB, free: 8.188 MB / 302.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0005439/0.122, allocations: 0.7015 MB / 363.7 MB, free: 7.457 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001565/0.1222, allocations: 35.91 kB / 363.7 MB, free: 7.422 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.1222, allocations: 0 / 363.7 MB, free: 7.422 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.841e-05/0.1223, allocations: 11.94 kB / 363.7 MB, free: 7.41 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004339/0.1227, allocations: 31.08 kB / 363.8 MB, free: 7.383 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001399/0.1241, allocations: 1.366 MB / 365.1 MB, free: 5.918 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002578/0.1244, allocations: 0.6923 MB / 365.8 MB, free: 5.199 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.694e-05/0.1244, allocations: 8.031 kB / 365.8 MB, free: 5.191 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.739e-05/0.1245, allocations: 23.44 kB / 365.8 MB, free: 5.168 MB / 302.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1245, allocations: 0 / 365.8 MB, free: 5.168 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01713/0.1416, allocations: 1.547 MB / 367.4 MB, free: 3.699 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.189/8.331, allocations: 8.047 kB / 367.4 MB, free: 3.691 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 8e-05 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches