Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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.Sample3,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001596/0.001596, allocations: 111.9 kB / 17.06 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00207/0.002071, allocations: 198.9 kB / 18 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.312/2.312, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002108/0.002108, allocations: 43.92 kB / 350.8 MB, free: 3.734 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4682/0.4704, allocations: 49.44 MB / 400.2 MB, free: 8.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.008566/0.479, allocations: 1.684 MB / 401.9 MB, free: 7.219 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008343/0.48, allocations: 159.4 kB / 402.1 MB, free: 7.062 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002068/0.4802, allocations: 3.938 kB / 402.1 MB, free: 7.059 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001003/0.4804, allocations: 15.8 kB / 402.1 MB, free: 7.043 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002703/0.4807, allocations: 11.94 kB / 402.1 MB, free: 7.031 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000512/0.4812, allocations: 43.83 kB / 402.2 MB, free: 6.988 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000247/0.4815, allocations: 47.91 kB / 402.2 MB, free: 6.941 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002185/0.4817, allocations: 35.97 kB / 402.2 MB, free: 6.906 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.34e-05/0.4818, allocations: 27.86 kB / 402.3 MB, free: 6.879 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/0.4819, allocations: 19.86 kB / 402.3 MB, free: 6.859 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.939e-05/0.482, allocations: 8 kB / 402.3 MB, free: 6.852 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.004e-05/0.482, allocations: 4 kB / 402.3 MB, free: 6.848 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.154e-05/0.4821, allocations: 19.92 kB / 402.3 MB, free: 6.828 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.762e-05/0.4822, allocations: 35.75 kB / 402.4 MB, free: 6.793 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002593/0.4825, allocations: 71.66 kB / 402.4 MB, free: 6.723 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.668e-06/0.4825, allocations: 4 kB / 402.4 MB, free: 6.719 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.4825, allocations: 0 / 402.4 MB, free: 6.719 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.544e-05/0.4825, allocations: 0 / 402.4 MB, free: 6.719 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0009204/0.4835, allocations: 388.8 kB / 402.8 MB, free: 6.293 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.081e-05/0.4835, allocations: 8.031 kB / 402.8 MB, free: 6.285 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.91e-05/0.4836, allocations: 38.75 kB / 402.9 MB, free: 6.238 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.985e-05/0.4837, allocations: 12.83 kB / 402.9 MB, free: 6.227 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004729/0.4842, allocations: 204 kB / 403.1 MB, free: 5.988 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.018e-05/0.4842, allocations: 8.312 kB / 403.1 MB, free: 5.98 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.772e-05/0.4842, allocations: 8.375 kB / 403.1 MB, free: 5.973 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005829/0.4848, allocations: 165.5 kB / 403.2 MB, free: 5.793 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.118e-05/0.4849, allocations: 3.938 kB / 403.2 MB, free: 5.789 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.446e-05/0.4849, allocations: 4 kB / 403.2 MB, free: 5.785 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.379e-05/0.485, allocations: 4 kB / 403.3 MB, free: 5.781 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001959/0.4852, allocations: 35.97 kB / 403.3 MB, free: 5.746 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00083/0.486, allocations: 369.8 kB / 403.6 MB, free: 5.328 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003842/0.4864, allocations: 115.9 kB / 403.8 MB, free: 5.188 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001873/0.4866, allocations: 58.61 kB / 403.8 MB, free: 5.121 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.162e-05/0.4867, allocations: 8 kB / 403.8 MB, free: 5.113 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.903e-05/0.4867, allocations: 34.5 kB / 403.9 MB, free: 5.07 MB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 2.034e-06/0.4867, allocations: 0 / 403.9 MB, free: 5.07 MB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005705/0.4873, allocations: 125.6 kB / 404 MB, free: 4.941 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000146/0.4875, allocations: 111.1 kB / 404.1 MB, free: 4.809 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002071/0.4877, allocations: 136.3 kB / 404.2 MB, free: 4.668 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.542e-05/0.4878, allocations: 25.7 kB / 404.3 MB, free: 4.637 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.18e-05/0.4879, allocations: 99.97 kB / 404.3 MB, free: 4.535 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.401e-05/0.4879, allocations: 8 kB / 404.4 MB, free: 4.527 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.494e-05/0.488, allocations: 21.62 kB / 404.4 MB, free: 4.5 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002269/0.4882, allocations: 326.8 kB / 404.7 MB, free: 4.172 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.791e-05/0.4883, allocations: 23.86 kB / 404.7 MB, free: 4.148 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001187/0.4884, allocations: 67.72 kB / 404.8 MB, free: 4.055 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002122/0.4887, allocations: 95.59 kB / 404.9 MB, free: 3.934 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.4887, allocations: 0 / 404.9 MB, free: 3.934 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002977/0.489, allocations: 113.4 kB / 405 MB, free: 3.816 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.67e-05/0.489, allocations: 7.938 kB / 405 MB, free: 3.809 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/0.4891, allocations: 4 kB / 405 MB, free: 3.805 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.803e-05/0.4891, allocations: 0 / 405 MB, free: 3.805 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.4892, allocations: 19.94 kB / 405 MB, free: 3.785 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.989e-05/0.4893, allocations: 7.984 kB / 405 MB, free: 3.777 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.503e-05/0.4894, allocations: 4.281 kB / 405 MB, free: 3.773 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.977e-05/0.4894, allocations: 12 kB / 405 MB, free: 3.762 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (10): * Single equations (assignments): 10 * 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.0002021/0.4896, allocations: 121.8 kB / 405.2 MB, free: 3.633 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002395/0.4899, allocations: 77.84 kB / 405.2 MB, free: 3.551 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.693e-05/0.49, allocations: 16.7 kB / 405.3 MB, free: 3.531 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.187e-05/0.49, allocations: 4 kB / 405.3 MB, free: 3.527 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/0.49, allocations: 0 / 405.3 MB, free: 3.527 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/0.49, allocations: 0 / 405.3 MB, free: 3.527 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005196/0.4906, allocations: 185.5 kB / 405.4 MB, free: 3.297 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.4906, allocations: 0 / 405.4 MB, free: 3.297 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001456/0.4907, allocations: 27.98 kB / 405.5 MB, free: 3.27 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.4908, allocations: 0 / 405.5 MB, free: 3.27 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.029e-05/0.4908, allocations: 4 kB / 405.5 MB, free: 3.266 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.4908, allocations: 0 / 405.5 MB, free: 3.266 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.4908, allocations: 80 / 405.5 MB, free: 3.266 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006367/0.4915, allocations: 332.1 kB / 405.8 MB, free: 2.918 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001348/0.4916, allocations: 92.94 kB / 405.9 MB, free: 2.809 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.668e-05/0.4917, allocations: 8 kB / 405.9 MB, free: 2.801 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001672/0.4918, allocations: 4 kB / 405.9 MB, free: 2.797 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.626e-05/0.4919, allocations: 4.281 kB / 405.9 MB, free: 2.793 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.315e-06/0.4919, allocations: 0 / 405.9 MB, free: 2.793 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001652/0.4921, allocations: 107.2 kB / 406 MB, free: 2.688 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4921, allocations: 11.94 kB / 406 MB, free: 2.676 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000438/0.4926, allocations: 12 kB / 406 MB, free: 2.664 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.001113/0.4937, allocations: 0.8459 MB / 406.9 MB, free: 1.785 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003215/0.4941, allocations: 63.84 kB / 406.9 MB, free: 1.723 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.4941, allocations: 0 / 406.9 MB, free: 1.723 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.369e-05/0.4941, allocations: 7.938 kB / 406.9 MB, free: 1.715 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008175/0.495, allocations: 52.59 kB / 407 MB, free: 1.664 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002768/0.4977, allocations: 1.581 MB / 408.6 MB, free: 15.94 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004698/0.4982, allocations: 0.7001 MB / 409.3 MB, free: 15.21 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.294e-05/0.4983, allocations: 12.64 kB / 409.3 MB, free: 15.2 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.631e-05/0.4984, allocations: 19.44 kB / 409.3 MB, free: 15.18 MB / 334.1 MB Notification: Performance of SimCode: time 1.853e-06/0.4985, allocations: 0 / 409.3 MB, free: 15.18 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03518/0.5336, allocations: 1.891 MB / 411.2 MB, free: 13.39 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12/12.53, allocations: 11.78 kB / 411.2 MB, free: 13.38 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches