Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.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.001736/0.001736, allocations: 116.6 kB / 18.49 MB, free: 4.566 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.001734/0.001734, allocations: 189 kB / 21.43 MB, free: 1.641 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.422/1.422, allocations: 225.6 MB / 249.8 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.TimeBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 51.92 kB / 366.3 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09533/0.09681, allocations: 52.14 MB / 418.5 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.002661/0.09947, allocations: 1.477 MB / 420 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002833/0.09976, allocations: 99.67 kB / 420.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.844e-05/0.09982, allocations: 0 / 420.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.629e-05/0.09984, allocations: 3.938 kB / 420.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.421e-05/0.09989, allocations: 3.938 kB / 420.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002128/0.1001, allocations: 23.91 kB / 420.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.418e-05/0.1002, allocations: 23.94 kB / 420.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.633e-05/0.1003, allocations: 11.98 kB / 420.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.592e-05/0.1003, allocations: 15.92 kB / 420.1 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.19e-05/0.1003, allocations: 15.92 kB / 420.2 MB, free: 11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.1004, allocations: 0 / 420.2 MB, free: 11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.408e-06/0.1004, allocations: 4 kB / 420.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.608e-05/0.1004, allocations: 4 kB / 420.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.892e-05/0.1004, allocations: 15.88 kB / 420.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.856e-05/0.1005, allocations: 23.84 kB / 420.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1005, allocations: 0 / 420.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1005, allocations: 4 kB / 420.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.147e-06/0.1005, allocations: 0 / 420.2 MB, free: 10.95 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.0004431/0.101, allocations: 355.3 kB / 420.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.101, allocations: 8.031 kB / 420.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.37e-05/0.101, allocations: 4.188 kB / 420.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.007e-05/0.101, allocations: 30.75 kB / 420.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.057e-05/0.1011, allocations: 0.9375 kB / 420.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002327/0.1013, allocations: 184.3 kB / 420.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.848e-06/0.1013, allocations: 384 / 420.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.357e-05/0.1013, allocations: 4.375 kB / 420.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003089/0.1016, allocations: 115.6 kB / 420.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.1016, allocations: 0 / 420.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.053e-06/0.1016, allocations: 0 / 420.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.487e-06/0.1016, allocations: 0 / 420.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.807e-05/0.1017, allocations: 19.98 kB / 420.9 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001591/0.1019, allocations: 161.6 kB / 421.1 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001534/0.102, allocations: 50.55 kB / 421.1 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.184e-05/0.1021, allocations: 24.86 kB / 421.2 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/0.1021, allocations: 4 kB / 421.2 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.1021, allocations: 34.5 kB / 421.2 MB, free: 9.789 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.1021, allocations: 0 / 421.2 MB, free: 9.789 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002355/0.1024, allocations: 73.62 kB / 421.3 MB, free: 9.711 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.579e-05/0.1024, allocations: 51.41 kB / 421.3 MB, free: 9.648 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.526e-05/0.1025, allocations: 106 kB / 421.4 MB, free: 9.535 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.1025, allocations: 29.64 kB / 421.4 MB, free: 9.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.581e-05/0.1026, allocations: 88.14 kB / 421.5 MB, free: 9.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.025e-06/0.1026, allocations: 3.984 kB / 421.5 MB, free: 9.406 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.279e-05/0.1026, allocations: 21.66 kB / 421.6 MB, free: 9.379 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.1028, allocations: 314.8 kB / 421.9 MB, free: 9.062 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.281e-05/0.1028, allocations: 4 kB / 421.9 MB, free: 9.059 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.946e-05/0.1028, allocations: 39.66 kB / 421.9 MB, free: 9.008 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.147e-05/0.1029, allocations: 39.38 kB / 421.9 MB, free: 8.957 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1029, allocations: 0 / 421.9 MB, free: 8.957 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.967e-05/0.103, allocations: 53.62 kB / 422 MB, free: 8.898 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.103, allocations: 11.94 kB / 422 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.103, allocations: 0 / 422 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.103, allocations: 0 / 422 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.8e-05/0.1031, allocations: 8 kB / 422 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.1031, allocations: 0 / 422 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.361e-05/0.1031, allocations: 4.125 kB / 422 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/0.1031, allocations: 7.938 kB / 422 MB, free: 8.867 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 0.0001136/0.1032, allocations: 113.8 kB / 422.1 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/0.1033, allocations: 61.56 kB / 422.2 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.74e-05/0.1034, allocations: 7.906 kB / 422.2 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1034, allocations: 0 / 422.2 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.1034, allocations: 4 kB / 422.2 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.1034, allocations: 0 / 422.2 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001385/0.1035, allocations: 161.6 kB / 422.4 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1035, allocations: 4 kB / 422.4 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.804e-05/0.1036, allocations: 4 kB / 422.4 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/0.1036, allocations: 7.938 kB / 422.4 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.1036, allocations: 0 / 422.4 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.1036, allocations: 0 / 422.4 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.1036, allocations: 3.938 kB / 422.4 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001424/0.1037, allocations: 81.11 kB / 422.5 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.671e-05/0.1038, allocations: 89 kB / 422.6 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.492e-05/0.1038, allocations: 4 kB / 422.6 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.471e-05/0.1038, allocations: 7.922 kB / 422.6 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.865e-06/0.1038, allocations: 0 / 422.6 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.1038, allocations: 0 / 422.6 MB, free: 8.219 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.179e-05/0.1039, allocations: 95.22 kB / 422.7 MB, free: 8.125 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1039, allocations: 0 / 422.7 MB, free: 8.125 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001889/0.1041, allocations: 0 / 422.7 MB, free: 8.125 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.0005043/0.1046, allocations: 0.6318 MB / 423.3 MB, free: 7.465 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001258/0.1047, allocations: 19.98 kB / 423.3 MB, free: 7.445 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1047, allocations: 0 / 423.3 MB, free: 7.445 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.395e-06/0.1047, allocations: 7.938 kB / 423.3 MB, free: 7.438 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002433/0.105, allocations: 24.25 kB / 423.3 MB, free: 7.414 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.106, allocations: 1.154 MB / 424.5 MB, free: 6.164 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003074/0.1063, allocations: 0.6883 MB / 425.2 MB, free: 5.449 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.785e-05/0.1063, allocations: 4 kB / 425.2 MB, free: 5.445 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.518e-05/0.1064, allocations: 11.44 kB / 425.2 MB, free: 5.434 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1064, allocations: 0 / 425.2 MB, free: 5.434 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01688/0.1232, allocations: 1.301 MB / 426.5 MB, free: 4.27 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.636/7.759, allocations: 8.75 kB / 426.5 MB, free: 4.262 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.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.183459874999244]