Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007922/0.0007922, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008295/0.0008295, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8516/0.8516, allocations: 177 MB / 204.1 MB, free: 5.766 MB / 186.7 MB " [Timeout remaining time 179] 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.TimeBasedSine,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 324.5 MB, free: 15.78 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.001e-05/1.122e-05, allocations: 2.281 kB / 324.5 MB, free: 15.77 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.001558/0.001569, allocations: 1.506 MB / 326 MB, free: 14.25 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005157/0.002085, allocations: 446.8 kB / 326.5 MB, free: 13.81 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.201e-05/0.002137, allocations: 0 / 326.5 MB, free: 13.81 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.548e-05/0.002162, allocations: 3.938 kB / 326.5 MB, free: 13.81 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.887e-05/0.002221, allocations: 15.86 kB / 326.5 MB, free: 13.79 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002407/0.002462, allocations: 27.91 kB / 326.5 MB, free: 13.77 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.379e-05/0.002546, allocations: 51.8 kB / 326.6 MB, free: 13.71 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.094e-05/0.002626, allocations: 7.984 kB / 326.6 MB, free: 13.71 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001101/0.002737, allocations: 35.91 kB / 326.6 MB, free: 13.67 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.033e-05/0.002777, allocations: 7.984 kB / 326.6 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/0.002792, allocations: 4 kB / 326.6 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.572e-05/0.002828, allocations: 15.92 kB / 326.6 MB, free: 13.64 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.163e-05/0.00284, allocations: 3.938 kB / 326.6 MB, free: 13.64 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.333e-05/0.002863, allocations: 8 kB / 326.7 MB, free: 13.63 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.685e-05/0.00296, allocations: 43.86 kB / 326.7 MB, free: 13.59 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.553e-06/0.002961, allocations: 0 / 326.7 MB, free: 13.59 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.002962, allocations: 0 / 326.7 MB, free: 13.59 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.002966, allocations: 8 kB / 326.7 MB, free: 13.58 MB / 298.7 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.0003076/0.003274, allocations: 274.2 kB / 327 MB, free: 13.29 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.003307, allocations: 11.98 kB / 327 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.757e-05/0.003335, allocations: 34.73 kB / 327 MB, free: 13.23 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.785e-05/0.003423, allocations: 8.938 kB / 327 MB, free: 13.22 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/0.003557, allocations: 133.5 kB / 327.2 MB, free: 13.07 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.643e-06/0.003564, allocations: 384 / 327.2 MB, free: 13.07 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.306e-06/0.003572, allocations: 4.375 kB / 327.2 MB, free: 13.06 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002007/0.003773, allocations: 115.8 kB / 327.3 MB, free: 12.94 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.62e-06/0.003778, allocations: 192 / 327.3 MB, free: 12.94 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.383e-06/0.003786, allocations: 8.125 kB / 327.3 MB, free: 12.93 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.00379, allocations: 0 / 327.3 MB, free: 12.93 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.144e-05/0.003841, allocations: 27.91 kB / 327.3 MB, free: 12.9 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.839e-05/0.003929, allocations: 128.7 kB / 327.4 MB, free: 12.73 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.85e-05/0.004018, allocations: 58.56 kB / 327.5 MB, free: 12.67 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.365e-05/0.004052, allocations: 24.86 kB / 327.5 MB, free: 12.64 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.594e-05/0.004068, allocations: 4 kB / 327.5 MB, free: 12.64 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.716e-05/0.004085, allocations: 34.55 kB / 327.6 MB, free: 12.59 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 5.21e-07/0.004085, allocations: 0 / 327.6 MB, free: 12.59 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001526/0.004238, allocations: 81.55 kB / 327.6 MB, free: 12.51 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.504e-05/0.004273, allocations: 51.41 kB / 327.7 MB, free: 12.45 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.232e-05/0.004325, allocations: 109.8 kB / 327.8 MB, free: 12.33 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.328e-06/0.004334, allocations: 25.7 kB / 327.8 MB, free: 12.3 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.23e-05/0.004367, allocations: 92.14 kB / 327.9 MB, free: 12.2 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.673e-06/0.004368, allocations: 0 / 327.9 MB, free: 12.2 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.56e-05/0.004384, allocations: 9.719 kB / 327.9 MB, free: 12.19 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.111e-05/0.004455, allocations: 322.8 kB / 328.2 MB, free: 11.86 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.657e-06/0.004459, allocations: 0 / 328.2 MB, free: 11.86 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.235e-06/0.004461, allocations: 0 / 328.2 MB, free: 11.86 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.805e-05/0.004479, allocations: 75.28 kB / 328.3 MB, free: 11.79 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.608e-05/0.004495, allocations: 79.28 kB / 328.4 MB, free: 11.71 MB / 298.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.029e-05/0.004525, allocations: 37.59 kB / 328.4 MB, free: 11.67 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.504e-05/0.004551, allocations: 82.56 kB / 328.5 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.58e-05/0.004566, allocations: 75.28 kB / 328.6 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.382e-05/0.00461, allocations: 170.5 kB / 328.7 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.788e-05/0.004628, allocations: 79.27 kB / 328.8 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.373e-05/0.004662, allocations: 154.9 kB / 329 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.126e-05/0.004703, allocations: 83.22 kB / 329 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.598e-05/0.004719, allocations: 75.28 kB / 329.1 MB, free: 10.96 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (0): * Single equations (assignments): 0 * 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 6.117e-05/0.00478, allocations: 185.1 kB / 329.3 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.934e-05/0.004849, allocations: 73.72 kB / 329.4 MB, free: 10.69 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.141e-05/0.004871, allocations: 8 kB / 329.4 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.004873, allocations: 3.938 kB / 329.4 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.004877, allocations: 4 kB / 329.4 MB, free: 10.67 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.00488, allocations: 0 / 329.4 MB, free: 10.67 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.444e-05/0.004935, allocations: 128.8 kB / 329.5 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.004937, allocations: 0 / 329.5 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.591e-05/0.004993, allocations: 7.984 kB / 329.5 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.004995, allocations: 4 kB / 329.5 MB, free: 10.49 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.19e-06/0.005001, allocations: 0 / 329.5 MB, free: 10.49 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.005003, allocations: 7.875 kB / 329.5 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.005004, allocations: 0 / 329.5 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.665e-05/0.005081, allocations: 93 kB / 329.6 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.409e-05/0.005095, allocations: 4 kB / 329.6 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.427e-06/0.005105, allocations: 4 kB / 329.6 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.48e-05/0.005119, allocations: 11.92 kB / 329.6 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.024e-06/0.005121, allocations: 0 / 329.6 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.578e-06/0.005126, allocations: 0 / 329.6 MB, free: 10.36 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.698e-05/0.005153, allocations: 87.28 kB / 329.7 MB, free: 10.27 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005153, allocations: 0 / 329.7 MB, free: 10.27 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001354/0.005288, allocations: 4 kB / 329.7 MB, free: 10.27 MB / 298.7 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.0002435/0.005532, allocations: 0.6241 MB / 330.4 MB, free: 9.613 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 5.382e-05/0.005586, allocations: 19.92 kB / 330.4 MB, free: 9.594 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.005587, allocations: 0 / 330.4 MB, free: 9.594 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.1e-07/0.005587, allocations: 0 / 330.4 MB, free: 9.594 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000159/0.005746, allocations: 19.94 kB / 330.4 MB, free: 9.574 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006417/0.006388, allocations: 1.405 MB / 331.8 MB, free: 8.09 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.506e-05/0.006423, allocations: 67.33 kB / 331.9 MB, free: 8.004 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.768e-06/0.006433, allocations: 4 kB / 331.9 MB, free: 8 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.941e-05/0.006462, allocations: 20.44 kB / 331.9 MB, free: 7.98 MB / 298.7 MB Notification: Performance of SimCode: time 6.02e-07/0.006463, allocations: 0 / 331.9 MB, free: 7.98 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01353/0.01999, allocations: 1.918 MB / 333.8 MB, free: 6.16 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.807/6.827, allocations: 7.203 kB / 333.8 MB, free: 6.156 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000199561 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedSine/TimeBasedSine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 8.50584861356765]