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.00188/0.00188, allocations: 115.4 kB / 17.33 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002226/0.002226, allocations: 205.8 kB / 18.27 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.655/1.655, allocations: 227.4 MB / 246.4 MB, free: 9.086 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 61.22 kB / 306.6 MB, free: 0.6211 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09736/0.09882, allocations: 50.53 MB / 357.1 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.003192/0.1021, allocations: 1.644 MB / 358.7 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001132/0.1032, allocations: 0.5182 MB / 359.3 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001121/0.1034, allocations: 7.938 kB / 359.3 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.94e-05/0.1035, allocations: 3.938 kB / 359.3 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001564/0.1036, allocations: 11.92 kB / 359.3 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004208/0.1041, allocations: 51.89 kB / 359.3 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001352/0.1042, allocations: 47.84 kB / 359.4 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.1043, allocations: 11.98 kB / 359.4 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001399/0.1045, allocations: 27.86 kB / 359.4 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.568e-05/0.1046, allocations: 27.84 kB / 359.4 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.1046, allocations: 0 / 359.4 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.145e-05/0.1047, allocations: 12 kB / 359.5 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.776e-05/0.1047, allocations: 19.92 kB / 359.5 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.064e-05/0.1048, allocations: 19.81 kB / 359.5 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001782/0.105, allocations: 63.73 kB / 359.6 MB, free: 11.61 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.105, allocations: 0 / 359.6 MB, free: 11.61 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.105, allocations: 0 / 359.6 MB, free: 11.61 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.105, allocations: 0 / 359.6 MB, free: 11.61 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.0005891/0.1056, allocations: 383.3 kB / 359.9 MB, free: 11.18 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.1056, allocations: 8.031 kB / 359.9 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.076e-05/0.1057, allocations: 42.73 kB / 360 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001906/0.1059, allocations: 20.83 kB / 360 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002209/0.1061, allocations: 188.2 kB / 360.2 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.1062, allocations: 384 / 360.2 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.1062, allocations: 4.375 kB / 360.2 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000371/0.1065, allocations: 129.1 kB / 360.3 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.1066, allocations: 0 / 360.3 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.1066, allocations: 0 / 360.3 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.1066, allocations: 0 / 360.3 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.44e-05/0.1067, allocations: 19.98 kB / 360.3 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003405/0.107, allocations: 273.6 kB / 360.6 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002088/0.1073, allocations: 138.3 kB / 360.7 MB, free: 10.22 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.55e-05/0.1073, allocations: 29.77 kB / 360.8 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.1074, allocations: 0 / 360.8 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.1074, allocations: 38.5 kB / 360.8 MB, free: 10.14 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.1074, allocations: 4 kB / 360.8 MB, free: 10.14 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002593/0.1077, allocations: 81.5 kB / 360.9 MB, free: 10.05 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.094e-05/0.1078, allocations: 81.11 kB / 361 MB, free: 9.953 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.1079, allocations: 136.4 kB / 361.1 MB, free: 9.812 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.1079, allocations: 29.7 kB / 361.1 MB, free: 9.777 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.823e-05/0.1079, allocations: 92.12 kB / 361.2 MB, free: 9.684 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.671e-05/0.108, allocations: 3.906 kB / 361.2 MB, free: 9.68 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-05/0.108, allocations: 21.84 kB / 361.2 MB, free: 9.652 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.1082, allocations: 318.8 kB / 361.6 MB, free: 9.332 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.241e-05/0.1082, allocations: 15.94 kB / 361.6 MB, free: 9.316 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.902e-05/0.1083, allocations: 31.61 kB / 361.6 MB, free: 9.273 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.031e-05/0.1084, allocations: 51.36 kB / 361.7 MB, free: 9.211 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1084, allocations: 3.938 kB / 361.7 MB, free: 9.207 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001338/0.1085, allocations: 69.64 kB / 361.7 MB, free: 9.133 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.1086, allocations: 8 kB / 361.7 MB, free: 9.125 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1086, allocations: 0 / 361.7 MB, free: 9.125 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.1086, allocations: 8.109 kB / 361.7 MB, free: 9.117 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.666e-05/0.1087, allocations: 8 kB / 361.7 MB, free: 9.109 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.1087, allocations: 0 / 361.7 MB, free: 9.109 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.379e-05/0.1087, allocations: 11.89 kB / 361.8 MB, free: 9.098 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.1087, allocations: 4 kB / 361.8 MB, free: 9.094 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 8.356e-05/0.1088, allocations: 122.8 kB / 361.9 MB, free: 8.965 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.143e-05/0.1089, allocations: 53.53 kB / 361.9 MB, free: 8.906 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.65e-05/0.1089, allocations: 16.25 kB / 361.9 MB, free: 8.883 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.109, allocations: 0 / 361.9 MB, free: 8.883 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.109, allocations: 4 kB / 362 MB, free: 8.879 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.109, allocations: 0 / 362 MB, free: 8.879 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001654/0.1091, allocations: 177.6 kB / 362.1 MB, free: 8.656 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1091, allocations: 0 / 362.1 MB, free: 8.656 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.559e-05/0.1092, allocations: 8 kB / 362.1 MB, free: 8.648 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.1092, allocations: 0 / 362.1 MB, free: 8.648 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.844e-06/0.1092, allocations: 0 / 362.1 MB, free: 8.648 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1092, allocations: 0 / 362.1 MB, free: 8.648 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.1092, allocations: 4 kB / 362.1 MB, free: 8.645 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001812/0.1094, allocations: 180.2 kB / 362.3 MB, free: 8.449 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.115e-05/0.1095, allocations: 93 kB / 362.4 MB, free: 8.34 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.1095, allocations: 3.984 kB / 362.4 MB, free: 8.336 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.779e-05/0.1096, allocations: 4 kB / 362.4 MB, free: 8.332 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.721e-05/0.1096, allocations: 0 / 362.4 MB, free: 8.332 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.1096, allocations: 0 / 362.4 MB, free: 8.332 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.413e-05/0.1097, allocations: 107.2 kB / 362.5 MB, free: 8.227 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.1097, allocations: 8 kB / 362.5 MB, free: 8.219 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002318/0.11, allocations: 4 kB / 362.5 MB, free: 8.215 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.0004342/0.1104, allocations: 0.6938 MB / 363.2 MB, free: 7.492 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000157/0.1106, allocations: 39.91 kB / 363.3 MB, free: 7.453 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.1106, allocations: 0 / 363.3 MB, free: 7.453 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.958e-05/0.1106, allocations: 11.94 kB / 363.3 MB, free: 7.441 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004366/0.1111, allocations: 31.83 kB / 363.3 MB, free: 7.41 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001574/0.1127, allocations: 1.388 MB / 364.7 MB, free: 5.926 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000313/0.113, allocations: 0.6923 MB / 365.4 MB, free: 5.207 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.786e-05/0.1131, allocations: 8.312 kB / 365.4 MB, free: 5.199 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.631e-05/0.1131, allocations: 11.44 kB / 365.4 MB, free: 5.188 MB / 302.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1131, allocations: 0 / 365.4 MB, free: 5.188 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01239/0.1255, allocations: 1.452 MB / 366.9 MB, free: 3.855 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001901/0.1258, allocations: 207.5 kB / 367.1 MB, free: 3.598 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.034/2.159, allocations: 0 / 367.1 MB, free: 3.598 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 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.mat","/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