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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 124.8 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 186.9 kB / 20.73 MB, free: 2.332 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 225.6 MB / 249.1 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 51.91 kB / 365.6 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08455/0.08602, allocations: 52.14 MB / 417.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.002523/0.08855, allocations: 1.485 MB / 419.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007075/0.08925, allocations: 442.8 kB / 419.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.501e-05/0.08931, allocations: 4 kB / 419.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.644e-05/0.08934, allocations: 3.938 kB / 419.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.477e-05/0.0894, allocations: 11.88 kB / 419.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002202/0.08962, allocations: 31.91 kB / 419.8 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.517e-05/0.08972, allocations: 35.91 kB / 419.8 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.606e-05/0.0898, allocations: 8 kB / 419.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.213e-05/0.08988, allocations: 19.86 kB / 419.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.372e-05/0.08994, allocations: 23.86 kB / 419.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.822e-05/0.08996, allocations: 0 / 419.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.033e-05/0.08997, allocations: 4 kB / 419.9 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.784e-05/0.08998, allocations: 3.984 kB / 419.9 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.508e-05/0.09003, allocations: 19.88 kB / 419.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.567e-05/0.09012, allocations: 39.83 kB / 419.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.09013, allocations: 0 / 419.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.09013, allocations: 0 / 419.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.306e-06/0.09014, allocations: 0 / 419.9 MB, free: 10.48 MB / 350.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.0004685/0.09061, allocations: 355.3 kB / 420.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.09065, allocations: 8.031 kB / 420.3 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.428e-05/0.09068, allocations: 30.75 kB / 420.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.657e-05/0.09071, allocations: 8.891 kB / 420.3 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002647/0.09097, allocations: 188.2 kB / 420.5 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.09098, allocations: 8.312 kB / 420.5 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/0.091, allocations: 8.375 kB / 420.5 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003162/0.09131, allocations: 115.4 kB / 420.6 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.09132, allocations: 0 / 420.6 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.09133, allocations: 4 kB / 420.6 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.09134, allocations: 4 kB / 420.6 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.751e-05/0.09141, allocations: 15.98 kB / 420.6 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001821/0.0916, allocations: 161.7 kB / 420.8 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001546/0.09175, allocations: 58.48 kB / 420.9 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.97e-05/0.09181, allocations: 24.92 kB / 420.9 MB, free: 9.344 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.09183, allocations: 4 kB / 420.9 MB, free: 9.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.09186, allocations: 38.5 kB / 420.9 MB, free: 9.293 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.61e-07/0.09186, allocations: 0 / 420.9 MB, free: 9.293 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002429/0.09211, allocations: 73.62 kB / 421 MB, free: 9.215 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.933e-05/0.09216, allocations: 55.34 kB / 421 MB, free: 9.148 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.697e-05/0.09225, allocations: 121.8 kB / 421.2 MB, free: 9.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.387e-05/0.09228, allocations: 25.7 kB / 421.2 MB, free: 8.988 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.451e-05/0.09233, allocations: 92.14 kB / 421.3 MB, free: 8.895 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.891e-06/0.09234, allocations: 0 / 421.3 MB, free: 8.895 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.792e-05/0.09237, allocations: 13.72 kB / 421.3 MB, free: 8.875 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.09251, allocations: 318.8 kB / 421.6 MB, free: 8.555 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.003e-05/0.09252, allocations: 0 / 421.6 MB, free: 8.555 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.797e-05/0.09256, allocations: 31.44 kB / 421.6 MB, free: 8.512 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.884e-05/0.0926, allocations: 35.38 kB / 421.7 MB, free: 8.465 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.09261, allocations: 0 / 421.7 MB, free: 8.465 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.906e-05/0.09269, allocations: 57.56 kB / 421.7 MB, free: 8.402 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.0927, allocations: 8 kB / 421.7 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.0927, allocations: 0 / 421.7 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.09272, allocations: 4.125 kB / 421.7 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.346e-05/0.09277, allocations: 11.94 kB / 421.8 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.09278, allocations: 3.984 kB / 421.8 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.781e-05/0.0928, allocations: 0 / 421.8 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.557e-06/0.0928, allocations: 4 kB / 421.8 MB, free: 8.371 MB / 350.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.309e-05/0.09288, allocations: 113.8 kB / 421.9 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/0.093, allocations: 61.86 kB / 421.9 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.356e-05/0.09303, allocations: 11.89 kB / 421.9 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.09303, allocations: 8.031 kB / 422 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.09304, allocations: 3.938 kB / 422 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.09304, allocations: 3.938 kB / 422 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001254/0.09316, allocations: 161.7 kB / 422.1 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.09317, allocations: 0 / 422.1 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.551e-05/0.09322, allocations: 7.938 kB / 422.1 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.09322, allocations: 0 / 422.1 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.09323, allocations: 4 kB / 422.1 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.09323, allocations: 0 / 422.1 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.09323, allocations: 0 / 422.1 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001578/0.09339, allocations: 93.06 kB / 422.2 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.171e-05/0.09345, allocations: 92.97 kB / 422.3 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.09347, allocations: 4.375 kB / 422.3 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.316e-05/0.0935, allocations: 4 kB / 422.3 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.116e-06/0.0935, allocations: 0 / 422.3 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.466e-06/0.09351, allocations: 0 / 422.3 MB, free: 7.703 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.655e-05/0.09356, allocations: 99.14 kB / 422.4 MB, free: 7.605 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.09356, allocations: 0 / 422.4 MB, free: 7.605 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001835/0.09375, allocations: 8 kB / 422.4 MB, free: 7.598 MB / 350.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.0004776/0.09422, allocations: 0.6279 MB / 423.1 MB, free: 6.941 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001102/0.09433, allocations: 24.11 kB / 423.1 MB, free: 6.918 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.09433, allocations: 4.062 kB / 423.1 MB, free: 6.914 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.4e-07/0.09434, allocations: 4 kB / 423.1 MB, free: 6.91 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002154/0.09455, allocations: 28 kB / 423.1 MB, free: 6.883 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.09559, allocations: 1.194 MB / 424.3 MB, free: 5.59 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003009/0.09589, allocations: 0.6922 MB / 425 MB, free: 4.871 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.131e-05/0.09591, allocations: 0 / 425 MB, free: 4.871 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.471e-05/0.09594, allocations: 11.44 kB / 425 MB, free: 4.859 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.09594, allocations: 0 / 425 MB, free: 4.859 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03314/0.1291, allocations: 1.344 MB / 426.4 MB, free: 3.629 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.008/8.137, allocations: 5.391 kB / 426.4 MB, free: 3.625 MB / 350.1 MB " [Timeout remaining time 652] (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 --stepSize=0.000199561 --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) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedSine/TimeBasedSine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.710679593030363]