Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.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.TimeBasedSine,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine",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.00127/0.00127, allocations: 114.1 kB / 17.06 MB, free: 6.016 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.001243/0.001244, allocations: 189.4 kB / 18 MB, free: 5.098 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.527/1.527, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 47.92 kB / 350.8 MB, free: 3.762 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3099/0.3115, allocations: 49.44 MB / 400.2 MB, free: 8.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.002949/0.3145, allocations: 1.49 MB / 401.7 MB, free: 7.25 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007884/0.3153, allocations: 435.7 kB / 402.2 MB, free: 6.883 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.907e-05/0.3154, allocations: 3.938 kB / 402.2 MB, free: 6.879 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.075e-05/0.3154, allocations: 3.938 kB / 402.2 MB, free: 6.875 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.411e-05/0.3155, allocations: 7.875 kB / 402.2 MB, free: 6.867 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002618/0.3158, allocations: 39.89 kB / 402.2 MB, free: 6.828 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001021/0.3159, allocations: 31.86 kB / 402.2 MB, free: 6.797 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.588e-05/0.316, allocations: 12 kB / 402.3 MB, free: 6.785 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.233e-05/0.3161, allocations: 27.84 kB / 402.3 MB, free: 6.758 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.05e-05/0.3162, allocations: 15.92 kB / 402.3 MB, free: 6.742 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.078e-05/0.3162, allocations: 4 kB / 402.3 MB, free: 6.738 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.259e-05/0.3162, allocations: 4 kB / 402.3 MB, free: 6.734 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.799e-05/0.3162, allocations: 0 / 402.3 MB, free: 6.734 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.457e-05/0.3163, allocations: 19.88 kB / 402.3 MB, free: 6.715 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001081/0.3164, allocations: 35.81 kB / 402.4 MB, free: 6.68 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.3164, allocations: 4 kB / 402.4 MB, free: 6.676 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3164, allocations: 0 / 402.4 MB, free: 6.676 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.018e-05/0.3164, allocations: 4 kB / 402.4 MB, free: 6.672 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005181/0.3169, allocations: 356.9 kB / 402.7 MB, free: 6.281 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.317, allocations: 8.031 kB / 402.7 MB, free: 6.273 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.856e-05/0.317, allocations: 30.75 kB / 402.8 MB, free: 6.234 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.828e-05/0.3171, allocations: 8.891 kB / 402.8 MB, free: 6.227 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002831/0.3174, allocations: 184.2 kB / 402.9 MB, free: 6.008 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.3174, allocations: 4.375 kB / 403 MB, free: 6.004 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/0.3174, allocations: 4.359 kB / 403 MB, free: 6 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003628/0.3178, allocations: 115.4 kB / 403.1 MB, free: 5.875 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.3178, allocations: 0 / 403.1 MB, free: 5.875 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.256e-06/0.3178, allocations: 0 / 403.1 MB, free: 5.875 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.3178, allocations: 0 / 403.1 MB, free: 5.875 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.683e-05/0.3179, allocations: 23.97 kB / 403.1 MB, free: 5.852 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002073/0.3181, allocations: 161.7 kB / 403.2 MB, free: 5.645 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001601/0.3183, allocations: 58.48 kB / 403.3 MB, free: 5.578 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.243e-05/0.3184, allocations: 24.92 kB / 403.3 MB, free: 5.551 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.311e-05/0.3184, allocations: 0 / 403.3 MB, free: 5.551 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/0.3185, allocations: 38.5 kB / 403.4 MB, free: 5.504 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 3.246e-06/0.3185, allocations: 11.98 kB / 403.4 MB, free: 5.492 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002748/0.3187, allocations: 73.61 kB / 403.5 MB, free: 5.414 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.827e-05/0.3188, allocations: 59.34 kB / 403.5 MB, free: 5.344 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.983e-05/0.3189, allocations: 113.8 kB / 403.6 MB, free: 5.223 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.08e-05/0.319, allocations: 29.7 kB / 403.7 MB, free: 5.188 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.129e-05/0.319, allocations: 84.14 kB / 403.7 MB, free: 5.102 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.722e-06/0.319, allocations: 0 / 403.7 MB, free: 5.102 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.27e-05/0.3191, allocations: 17.72 kB / 403.7 MB, free: 5.078 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.3192, allocations: 318.8 kB / 404.1 MB, free: 4.758 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.467e-05/0.3192, allocations: 4 kB / 404.1 MB, free: 4.754 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.855e-05/0.3193, allocations: 27.44 kB / 404.1 MB, free: 4.715 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.591e-05/0.3194, allocations: 43.36 kB / 404.1 MB, free: 4.66 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.3194, allocations: 0 / 404.1 MB, free: 4.66 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.943e-05/0.3194, allocations: 57.52 kB / 404.2 MB, free: 4.598 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.3195, allocations: 4 kB / 404.2 MB, free: 4.594 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.3195, allocations: 0 / 404.2 MB, free: 4.594 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.3195, allocations: 4 kB / 404.2 MB, free: 4.59 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.602e-05/0.3196, allocations: 11.92 kB / 404.2 MB, free: 4.578 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.268e-06/0.3196, allocations: 8.125 kB / 404.2 MB, free: 4.57 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.889e-05/0.3196, allocations: 0 / 404.2 MB, free: 4.57 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-06/0.3196, allocations: 0 / 404.2 MB, free: 4.57 MB / 318.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 0.0001004/0.3197, allocations: 113.8 kB / 404.3 MB, free: 4.449 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001296/0.3199, allocations: 65.56 kB / 404.4 MB, free: 4.379 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.347e-05/0.3199, allocations: 7.906 kB / 404.4 MB, free: 4.363 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.3199, allocations: 4 kB / 404.4 MB, free: 4.359 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.3199, allocations: 3.938 kB / 404.4 MB, free: 4.355 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.3199, allocations: 0 / 404.4 MB, free: 4.355 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001395/0.3201, allocations: 161.7 kB / 404.6 MB, free: 4.148 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3201, allocations: 0 / 404.6 MB, free: 4.148 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.679e-05/0.3201, allocations: 15.94 kB / 404.6 MB, free: 4.133 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.3202, allocations: 0 / 404.6 MB, free: 4.133 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.3202, allocations: 3.984 kB / 404.6 MB, free: 4.129 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.3202, allocations: 0 / 404.6 MB, free: 4.129 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3202, allocations: 0 / 404.6 MB, free: 4.129 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001815/0.3204, allocations: 97.06 kB / 404.7 MB, free: 4.016 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.019e-05/0.3204, allocations: 84.98 kB / 404.8 MB, free: 3.914 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.3205, allocations: 4 kB / 404.8 MB, free: 3.91 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.041e-05/0.3205, allocations: 0 / 404.8 MB, free: 3.91 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.843e-06/0.3205, allocations: 4.359 kB / 404.8 MB, free: 3.906 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.3205, allocations: 0 / 404.8 MB, free: 3.906 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.092e-05/0.3206, allocations: 95.16 kB / 404.9 MB, free: 3.812 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.7e-07/0.3206, allocations: 0 / 404.9 MB, free: 3.812 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001861/0.3208, allocations: 8 kB / 404.9 MB, free: 3.805 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0005731/0.3214, allocations: 0.6322 MB / 405.5 MB, free: 3.145 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001361/0.3215, allocations: 27.92 kB / 405.5 MB, free: 3.117 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.3215, allocations: 0 / 405.5 MB, free: 3.117 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.12e-07/0.3215, allocations: 0 / 405.5 MB, free: 3.117 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000251/0.3218, allocations: 32.22 kB / 405.6 MB, free: 3.086 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/0.323, allocations: 1.194 MB / 406.8 MB, free: 1.793 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003321/0.3233, allocations: 0.6922 MB / 407.4 MB, free: 1.074 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.603e-05/0.3233, allocations: 0 / 407.4 MB, free: 1.074 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.047e-05/0.3234, allocations: 15.42 kB / 407.5 MB, free: 1.059 MB / 318.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3234, allocations: 4 kB / 407.5 MB, free: 1.055 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02249/0.3459, allocations: 1.324 MB / 408.8 MB, free: 15.85 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.959/8.305, allocations: 8.625 kB / 408.8 MB, free: 15.84 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedSine/TimeBasedSine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches