Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.SampleClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked",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.001116/0.001115, allocations: 106.4 kB / 17.06 MB, free: 6.027 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.001129/0.001129, allocations: 195 kB / 18 MB, free: 5.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.867/1.867, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001031/0.001032, allocations: 47.92 kB / 350.8 MB, free: 3.742 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2901/0.2912, allocations: 49.44 MB / 400.2 MB, free: 8.418 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.002925/0.2941, allocations: 1.558 MB / 401.8 MB, free: 7.207 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008205/0.295, allocations: 472.9 kB / 402.3 MB, free: 6.781 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.231e-05/0.2951, allocations: 3.938 kB / 402.3 MB, free: 6.777 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.495e-05/0.2952, allocations: 3.938 kB / 402.3 MB, free: 6.773 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001316/0.2953, allocations: 7.938 kB / 402.3 MB, free: 6.766 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002566/0.2956, allocations: 43.83 kB / 402.3 MB, free: 6.723 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.803e-05/0.2957, allocations: 39.84 kB / 402.4 MB, free: 6.684 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.721e-05/0.2958, allocations: 15.97 kB / 402.4 MB, free: 6.668 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.442e-05/0.2959, allocations: 19.86 kB / 402.4 MB, free: 6.648 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.362e-05/0.2959, allocations: 19.94 kB / 402.4 MB, free: 6.629 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.376e-05/0.2959, allocations: 0 / 402.4 MB, free: 6.629 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.184e-05/0.296, allocations: 4 kB / 402.4 MB, free: 6.625 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.691e-05/0.296, allocations: 15.92 kB / 402.4 MB, free: 6.609 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.523e-05/0.296, allocations: 27.8 kB / 402.5 MB, free: 6.582 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000103/0.2962, allocations: 39.83 kB / 402.5 MB, free: 6.543 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.2962, allocations: 7.984 kB / 402.5 MB, free: 6.535 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2962, allocations: 0 / 402.5 MB, free: 6.535 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.95e-06/0.2962, allocations: 0 / 402.5 MB, free: 6.535 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004727/0.2967, allocations: 364.9 kB / 402.9 MB, free: 6.133 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.2967, allocations: 12.03 kB / 402.9 MB, free: 6.121 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.315e-05/0.2967, allocations: 34.75 kB / 402.9 MB, free: 6.078 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.789e-05/0.2968, allocations: 8.844 kB / 402.9 MB, free: 6.07 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002406/0.297, allocations: 196.1 kB / 403.1 MB, free: 5.84 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.297, allocations: 8.312 kB / 403.1 MB, free: 5.832 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.2971, allocations: 384 / 403.1 MB, free: 5.832 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000218/0.2973, allocations: 97.23 kB / 403.2 MB, free: 5.719 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.2973, allocations: 0 / 403.2 MB, free: 5.719 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.2973, allocations: 0 / 403.2 MB, free: 5.719 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.2973, allocations: 7.875 kB / 403.2 MB, free: 5.711 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.515e-05/0.2974, allocations: 11.98 kB / 403.2 MB, free: 5.699 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003086/0.2977, allocations: 265.8 kB / 403.5 MB, free: 5.387 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.496e-05/0.2978, allocations: 45.16 kB / 403.5 MB, free: 5.324 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.907e-05/0.2979, allocations: 17.77 kB / 403.6 MB, free: 5.301 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.846e-05/0.2979, allocations: 4 kB / 403.6 MB, free: 5.297 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.2979, allocations: 38.56 kB / 403.6 MB, free: 5.25 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.298, allocations: 0 / 403.6 MB, free: 5.25 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002708/0.2982, allocations: 69.52 kB / 403.7 MB, free: 5.176 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.639e-05/0.2983, allocations: 77.11 kB / 403.7 MB, free: 5.082 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.2984, allocations: 140.1 kB / 403.9 MB, free: 4.938 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.2984, allocations: 29.69 kB / 403.9 MB, free: 4.902 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.446e-05/0.2985, allocations: 84.39 kB / 404 MB, free: 4.816 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.395e-05/0.2985, allocations: 11.94 kB / 404 MB, free: 4.805 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.639e-05/0.2986, allocations: 17.62 kB / 404 MB, free: 4.781 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001797/0.2987, allocations: 322.8 kB / 404.3 MB, free: 4.457 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.145e-05/0.2988, allocations: 8 kB / 404.3 MB, free: 4.449 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.374e-05/0.2988, allocations: 21.7 kB / 404.4 MB, free: 4.422 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.133e-05/0.2989, allocations: 29.77 kB / 404.4 MB, free: 4.387 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2989, allocations: 0 / 404.4 MB, free: 4.387 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001158/0.2991, allocations: 53.62 kB / 404.4 MB, free: 4.328 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.2991, allocations: 8 kB / 404.4 MB, free: 4.32 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.2991, allocations: 0 / 404.4 MB, free: 4.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.2991, allocations: 0 / 404.4 MB, free: 4.32 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.38e-05/0.2992, allocations: 7.984 kB / 404.5 MB, free: 4.312 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.2992, allocations: 0 / 404.5 MB, free: 4.312 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.47e-05/0.2993, allocations: 8.062 kB / 404.5 MB, free: 4.305 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.2993, allocations: 0 / 404.5 MB, free: 4.305 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.0001087/0.2994, allocations: 117.8 kB / 404.6 MB, free: 4.18 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.456e-05/0.2995, allocations: 45.53 kB / 404.6 MB, free: 4.129 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.958e-05/0.2996, allocations: 11.88 kB / 404.6 MB, free: 4.113 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.2996, allocations: 0 / 404.6 MB, free: 4.113 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.2996, allocations: 0 / 404.6 MB, free: 4.113 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.2996, allocations: 0 / 404.6 MB, free: 4.113 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001816/0.2998, allocations: 181.6 kB / 404.8 MB, free: 3.887 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.2998, allocations: 0 / 404.8 MB, free: 3.887 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.742e-05/0.2999, allocations: 11.92 kB / 404.8 MB, free: 3.875 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.2999, allocations: 0 / 404.8 MB, free: 3.875 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.802e-06/0.2999, allocations: 0 / 404.8 MB, free: 3.875 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.049e-06/0.2999, allocations: 4 kB / 404.8 MB, free: 3.871 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2999, allocations: 0 / 404.8 MB, free: 3.871 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001775/0.3001, allocations: 160.2 kB / 405 MB, free: 3.695 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.803e-05/0.3001, allocations: 97 kB / 405.1 MB, free: 3.582 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.3002, allocations: 3.984 kB / 405.1 MB, free: 3.578 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.571e-05/0.3002, allocations: 0 / 405.1 MB, free: 3.578 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.189e-05/0.3003, allocations: 7.984 kB / 405.1 MB, free: 3.57 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.3003, allocations: 0 / 405.1 MB, free: 3.57 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.597e-05/0.3004, allocations: 110.4 kB / 405.2 MB, free: 3.465 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3004, allocations: 0 / 405.2 MB, free: 3.465 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002162/0.3006, allocations: 4 kB / 405.2 MB, free: 3.461 MB / 318.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 (2): * Single equations (assignments): 2 * 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.0004705/0.3011, allocations: 0.7052 MB / 405.9 MB, free: 2.727 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001361/0.3012, allocations: 24.08 kB / 405.9 MB, free: 2.703 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3012, allocations: 4 kB / 405.9 MB, free: 2.699 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.832e-05/0.3013, allocations: 11.94 kB / 405.9 MB, free: 2.688 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003224/0.3016, allocations: 15.95 kB / 406 MB, free: 2.672 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001322/0.3029, allocations: 1.308 MB / 407.3 MB, free: 1.273 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002846/0.3032, allocations: 0.6961 MB / 408 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.933e-05/0.3033, allocations: 0 / 408 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.225e-05/0.3033, allocations: 11.44 kB / 408 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3033, allocations: 3.938 kB / 408 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.956/3.26, allocations: 1.473 MB / 409.5 MB, free: 15.17 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.97/20.23, allocations: 7.953 kB / 409.5 MB, free: 15.17 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches