Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.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.001275/0.001275, allocations: 120.4 kB / 18.5 MB, free: 4.578 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.001312/0.001312, allocations: 208.9 kB / 21.46 MB, free: 1.625 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.388/1.388, allocations: 230.2 MB / 254.5 MB, free: 15.28 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.RealSignals.AssignClock,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001763/0.001763, allocations: 55.91 kB / 373.4 MB, free: 10.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09864/0.1004, allocations: 53.31 MB / 426.7 MB, free: 5.02 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.002199/0.1026, allocations: 0.966 MB / 427.6 MB, free: 4.059 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003374/0.1029, allocations: 111.7 kB / 427.7 MB, free: 3.949 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.268e-05/0.103, allocations: 3.938 kB / 427.7 MB, free: 3.945 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.832e-05/0.1031, allocations: 7.938 kB / 427.8 MB, free: 3.938 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000132/0.1032, allocations: 11.92 kB / 427.8 MB, free: 3.926 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002265/0.1034, allocations: 31.91 kB / 427.8 MB, free: 3.895 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001051/0.1035, allocations: 43.84 kB / 427.8 MB, free: 3.852 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.1036, allocations: 20.17 kB / 427.9 MB, free: 3.828 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.728e-05/0.1037, allocations: 11.94 kB / 427.9 MB, free: 3.816 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.68e-05/0.1037, allocations: 23.84 kB / 427.9 MB, free: 3.793 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.915e-05/0.1037, allocations: 4 kB / 427.9 MB, free: 3.789 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.146e-05/0.1038, allocations: 7.938 kB / 427.9 MB, free: 3.781 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.276e-05/0.1038, allocations: 15.92 kB / 427.9 MB, free: 3.766 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.075e-05/0.1038, allocations: 27.81 kB / 427.9 MB, free: 3.738 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001252/0.104, allocations: 63.67 kB / 428 MB, free: 3.676 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.104, allocations: 0 / 428 MB, free: 3.676 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.104, allocations: 0 / 428 MB, free: 3.676 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.104, allocations: 3.938 kB / 428 MB, free: 3.672 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004795/0.1045, allocations: 377.9 kB / 428.4 MB, free: 3.258 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.1045, allocations: 8.031 kB / 428.4 MB, free: 3.25 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.736e-05/0.1045, allocations: 38.75 kB / 428.4 MB, free: 3.203 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.93e-05/0.1046, allocations: 12.88 kB / 428.4 MB, free: 3.191 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002448/0.1048, allocations: 196.2 kB / 428.6 MB, free: 2.961 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.1048, allocations: 384 / 428.6 MB, free: 2.961 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.741e-05/0.1048, allocations: 8.375 kB / 428.6 MB, free: 2.953 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000267/0.1051, allocations: 131.5 kB / 428.8 MB, free: 2.812 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.1051, allocations: 0 / 428.8 MB, free: 2.812 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.1051, allocations: 8 kB / 428.8 MB, free: 2.805 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.1051, allocations: 3.984 kB / 428.8 MB, free: 2.801 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.77e-05/0.1052, allocations: 12 kB / 428.8 MB, free: 2.789 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001678/0.1054, allocations: 177.5 kB / 429 MB, free: 2.566 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001395/0.1055, allocations: 66.66 kB / 429 MB, free: 2.492 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.912e-05/0.1055, allocations: 32.89 kB / 429.1 MB, free: 2.457 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.07e-05/0.1056, allocations: 4 kB / 429.1 MB, free: 2.453 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/0.1056, allocations: 34.5 kB / 429.1 MB, free: 2.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 9.92e-07/0.1056, allocations: 0 / 429.1 MB, free: 2.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002031/0.1058, allocations: 97.72 kB / 429.2 MB, free: 2.309 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.945e-05/0.1058, allocations: 51.41 kB / 429.2 MB, free: 2.246 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.106, allocations: 136.2 kB / 429.4 MB, free: 2.105 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.106, allocations: 25.7 kB / 429.4 MB, free: 2.074 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.173e-05/0.106, allocations: 96.12 kB / 429.5 MB, free: 1.977 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.522e-05/0.1061, allocations: 4 kB / 429.5 MB, free: 1.973 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.003e-05/0.1061, allocations: 21.72 kB / 429.5 MB, free: 1.945 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.1062, allocations: 318.8 kB / 429.8 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.703e-05/0.1063, allocations: 4 kB / 429.8 MB, free: 1.621 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.916e-05/0.1063, allocations: 66.8 kB / 429.9 MB, free: 1.531 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.155e-05/0.1064, allocations: 70.81 kB / 430 MB, free: 1.438 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1064, allocations: 192 / 430 MB, free: 1.438 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001267/0.1065, allocations: 101.4 kB / 430.1 MB, free: 1.332 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.1065, allocations: 7.938 kB / 430.1 MB, free: 1.324 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.363e-06/0.1065, allocations: 4 kB / 430.1 MB, free: 1.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.1066, allocations: 0 / 430.1 MB, free: 1.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.025e-05/0.1066, allocations: 16.19 kB / 430.1 MB, free: 1.305 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.1066, allocations: 11.98 kB / 430.1 MB, free: 1.293 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.408e-05/0.1067, allocations: 11.95 kB / 430.1 MB, free: 1.281 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.1067, allocations: 4 kB / 430.1 MB, free: 1.277 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.905e-05/0.1068, allocations: 113.8 kB / 430.2 MB, free: 1.156 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.362e-05/0.1069, allocations: 81.52 kB / 430.3 MB, free: 1.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.46e-05/0.1069, allocations: 8.719 kB / 430.3 MB, free: 1.059 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.1069, allocations: 4 kB / 430.3 MB, free: 1.055 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1069, allocations: 0 / 430.3 MB, free: 1.055 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.614e-06/0.1069, allocations: 3.938 kB / 430.3 MB, free: 1.051 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001192/0.107, allocations: 177.6 kB / 430.5 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.107, allocations: 0 / 430.5 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.443e-05/0.1071, allocations: 15.94 kB / 430.5 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1071, allocations: 0 / 430.5 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.1071, allocations: 4 kB / 430.5 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.1071, allocations: 7.984 kB / 430.5 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1071, allocations: 0 / 430.5 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001247/0.1072, allocations: 101.4 kB / 430.6 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.098e-05/0.1073, allocations: 101 kB / 430.7 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.1073, allocations: 0 / 430.7 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.875e-05/0.1073, allocations: 4 kB / 430.7 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.324e-06/0.1073, allocations: 0 / 430.7 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.1073, allocations: 4 kB / 430.7 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.377e-05/0.1074, allocations: 109.4 kB / 430.8 MB, free: 464 kB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1074, allocations: 0 / 430.8 MB, free: 464 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001877/0.1076, allocations: 8 kB / 430.9 MB, free: 456 kB / 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: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0004797/0.1081, allocations: 0.6671 MB / 431.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001077/0.1082, allocations: 35.94 kB / 431.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1082, allocations: 0 / 431.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.11e-07/0.1082, allocations: 0 / 431.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002746/0.1085, allocations: 40.55 kB / 431.6 MB, free: 15.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/0.1096, allocations: 1.346 MB / 432.9 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003067/0.1099, allocations: 0.6963 MB / 433.6 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.39e-05/0.1099, allocations: 4.125 kB / 433.6 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.144e-05/0.1099, allocations: 23.44 kB / 433.7 MB, free: 13.45 MB / 366.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1099, allocations: 0 / 433.7 MB, free: 13.45 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02208/0.132, allocations: 1.744 MB / 435.4 MB, free: 11.81 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.645/7.777, allocations: 9.406 kB / 435.4 MB, free: 11.81 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79641e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.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.257260167971253]