Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.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.001592/0.001592, allocations: 117.3 kB / 18.5 MB, free: 4.434 MB / 14.72 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.002178/0.002178, allocations: 218.6 kB / 21.47 MB, free: 1.473 MB / 14.72 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 1.472/1.472, allocations: 230.2 MB / 254.5 MB, free: 15.41 MB / 206.1 MB " [Timeout remaining time 178] 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.ClockSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001731/0.001731, allocations: 63.89 kB / 373.3 MB, free: 10.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09313/0.09486, allocations: 53.32 MB / 426.7 MB, free: 5.039 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.002835/0.0977, allocations: 1.569 MB / 428.2 MB, free: 3.465 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009961/0.09869, allocations: 0.5688 MB / 428.8 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.068e-05/0.09877, allocations: 4 kB / 428.8 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.728e-05/0.09882, allocations: 3.938 kB / 428.8 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001325/0.09895, allocations: 15.84 kB / 428.8 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003274/0.09928, allocations: 63.81 kB / 428.9 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00011/0.09939, allocations: 51.8 kB / 428.9 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.09949, allocations: 12.17 kB / 428.9 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001172/0.09961, allocations: 31.84 kB / 429 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.615e-05/0.09966, allocations: 15.88 kB / 429 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.09968, allocations: 4 kB / 429 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.184e-05/0.09972, allocations: 11.98 kB / 429 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.361e-05/0.09977, allocations: 15.94 kB / 429 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.482e-05/0.0998, allocations: 27.78 kB / 429 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001414/0.09994, allocations: 59.69 kB / 429.1 MB, free: 2.578 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.09995, allocations: 0 / 429.1 MB, free: 2.578 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.376e-06/0.09995, allocations: 7.984 kB / 429.1 MB, free: 2.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.877e-06/0.09996, allocations: 0 / 429.1 MB, free: 2.57 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004927/0.1005, allocations: 383 kB / 429.5 MB, free: 2.148 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.1005, allocations: 8.031 kB / 429.5 MB, free: 2.141 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.57e-05/0.1005, allocations: 38.75 kB / 429.5 MB, free: 2.094 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001327/0.1007, allocations: 16.88 kB / 429.5 MB, free: 2.078 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000251/0.1009, allocations: 196.1 kB / 429.7 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.1009, allocations: 12.38 kB / 429.7 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.275e-05/0.1009, allocations: 384 / 429.7 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002463/0.1012, allocations: 109 kB / 429.9 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.1012, allocations: 4 kB / 429.9 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-06/0.1012, allocations: 0 / 429.9 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.1012, allocations: 4 kB / 429.9 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.864e-05/0.1013, allocations: 19.92 kB / 429.9 MB, free: 1.684 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002956/0.1016, allocations: 261.8 kB / 430.1 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.636e-05/0.1017, allocations: 45.2 kB / 430.2 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.356e-05/0.1017, allocations: 21.72 kB / 430.2 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/0.1017, allocations: 4 kB / 430.2 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.1017, allocations: 34.5 kB / 430.2 MB, free: 1.238 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.1017, allocations: 0 / 430.2 MB, free: 1.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002216/0.102, allocations: 73.56 kB / 430.3 MB, free: 1.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.15e-05/0.102, allocations: 81.36 kB / 430.4 MB, free: 1.062 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/0.1022, allocations: 140.4 kB / 430.5 MB, free: 0.918 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.1022, allocations: 29.7 kB / 430.6 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.268e-05/0.1022, allocations: 92.12 kB / 430.6 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.393e-05/0.1022, allocations: 7.938 kB / 430.7 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.194e-05/0.1023, allocations: 13.72 kB / 430.7 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.1024, allocations: 322.8 kB / 431 MB, free: 448 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.052e-05/0.1024, allocations: 11.98 kB / 431 MB, free: 436 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.627e-05/0.1025, allocations: 17.72 kB / 431 MB, free: 412 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.112e-05/0.1025, allocations: 29.64 kB / 431 MB, free: 376 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.1025, allocations: 0 / 431 MB, free: 376 kB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000115/0.1027, allocations: 65.62 kB / 431.1 MB, free: 304 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.1027, allocations: 8 kB / 431.1 MB, free: 296 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.1027, allocations: 0 / 431.1 MB, free: 296 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.1027, allocations: 0 / 431.1 MB, free: 296 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.973e-05/0.1027, allocations: 4 kB / 431.1 MB, free: 292 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.668e-06/0.1027, allocations: 0 / 431.1 MB, free: 292 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.317e-05/0.1028, allocations: 4 kB / 431.1 MB, free: 288 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.377e-06/0.1028, allocations: 7.984 kB / 431.1 MB, free: 280 kB / 350.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 7.811e-05/0.1029, allocations: 113.8 kB / 431.2 MB, free: 156 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.607e-05/0.1029, allocations: 45.72 kB / 431.3 MB, free: 104 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.305e-05/0.103, allocations: 11.86 kB / 431.3 MB, free: 84 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.103, allocations: 0 / 431.3 MB, free: 84 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.103, allocations: 3.938 kB / 431.3 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.103, allocations: 0 / 431.3 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001983/0.1032, allocations: 177.6 kB / 431.5 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.1032, allocations: 3.938 kB / 431.5 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.922e-05/0.1032, allocations: 4 kB / 431.5 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.1032, allocations: 0 / 431.5 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.1032, allocations: 7.984 kB / 431.5 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1032, allocations: 4.031 kB / 431.5 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1032, allocations: 0 / 431.5 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001761/0.1034, allocations: 160.3 kB / 431.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.539e-05/0.1035, allocations: 96.98 kB / 431.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.27e-05/0.1035, allocations: 0 / 431.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.347e-05/0.1035, allocations: 4.031 kB / 431.8 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.882e-05/0.1036, allocations: 11.97 kB / 431.8 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.1036, allocations: 0 / 431.8 MB, free: 15.53 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.667e-05/0.1036, allocations: 115.2 kB / 431.9 MB, free: 15.42 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1036, allocations: 0 / 431.9 MB, free: 15.42 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000209/0.1039, allocations: 4 kB / 431.9 MB, free: 15.41 MB / 366.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.0004238/0.1043, allocations: 0.6859 MB / 432.6 MB, free: 14.7 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001232/0.1044, allocations: 31.91 kB / 432.6 MB, free: 14.67 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1044, allocations: 0 / 432.6 MB, free: 14.67 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.168e-05/0.1044, allocations: 4 kB / 432.6 MB, free: 14.66 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003119/0.1047, allocations: 19.08 kB / 432.6 MB, free: 14.65 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001238/0.106, allocations: 1.33 MB / 433.9 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000285/0.1063, allocations: 0.6885 MB / 434.6 MB, free: 12.52 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.981e-05/0.1063, allocations: 8.031 kB / 434.6 MB, free: 12.51 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.123e-05/0.1063, allocations: 15.44 kB / 434.7 MB, free: 12.49 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1063, allocations: 0 / 434.7 MB, free: 12.49 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02119/0.1275, allocations: 1.562 MB / 436.2 MB, free: 11.04 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.427/7.555, allocations: 15.97 kB / 436.2 MB, free: 11.02 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample_fmu --startTime=0 --stopTime=0.08 --stepSize=1.59331e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.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.131486042868346]