Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001723/0.001723, allocations: 113.2 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002172/0.002172, allocations: 213.1 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.535/1.535, allocations: 230.6 MB / 257.5 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001711/0.001711, allocations: 39.94 kB / 377.8 MB, free: 3.137 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2939/0.2956, allocations: 53.36 MB / 431.1 MB, free: 6.844 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.002404/0.298, allocations: 0.8658 MB / 432 MB, free: 5.984 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003798/0.2984, allocations: 123.6 kB / 432.1 MB, free: 5.863 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.271e-05/0.2985, allocations: 3.938 kB / 432.1 MB, free: 5.859 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.616e-05/0.2986, allocations: 3.938 kB / 432.1 MB, free: 5.855 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001271/0.2987, allocations: 15.92 kB / 432.1 MB, free: 5.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002165/0.2989, allocations: 35.91 kB / 432.2 MB, free: 5.805 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001175/0.2991, allocations: 43.91 kB / 432.2 MB, free: 5.762 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.2992, allocations: 19.92 kB / 432.2 MB, free: 5.742 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.754e-05/0.2992, allocations: 15.94 kB / 432.3 MB, free: 5.727 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.473e-05/0.2993, allocations: 15.92 kB / 432.3 MB, free: 5.711 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.309e-05/0.2993, allocations: 7.984 kB / 432.3 MB, free: 5.703 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.223e-05/0.2993, allocations: 4 kB / 432.3 MB, free: 5.699 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.38e-05/0.2994, allocations: 19.92 kB / 432.3 MB, free: 5.68 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.696e-05/0.2994, allocations: 31.73 kB / 432.3 MB, free: 5.648 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001616/0.2996, allocations: 68.03 kB / 432.4 MB, free: 5.586 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.2996, allocations: 0 / 432.4 MB, free: 5.586 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2996, allocations: 4 kB / 432.4 MB, free: 5.582 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.2996, allocations: 0 / 432.4 MB, free: 5.582 MB / 334.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.0004735/0.3001, allocations: 294.1 kB / 432.7 MB, free: 5.262 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.3001, allocations: 8.031 kB / 432.7 MB, free: 5.254 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.833e-05/0.3002, allocations: 38.75 kB / 432.7 MB, free: 5.207 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.332e-05/0.3002, allocations: 12.84 kB / 432.7 MB, free: 5.195 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002324/0.3004, allocations: 138.3 kB / 432.9 MB, free: 5.035 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.3004, allocations: 8.375 kB / 432.9 MB, free: 5.027 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.815e-05/0.3005, allocations: 12.36 kB / 432.9 MB, free: 5.016 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003053/0.3008, allocations: 139.7 kB / 433 MB, free: 4.867 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.3008, allocations: 3.938 kB / 433 MB, free: 4.863 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.3008, allocations: 4 kB / 433 MB, free: 4.859 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.3008, allocations: 4 kB / 433 MB, free: 4.855 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.318e-05/0.3008, allocations: 23.92 kB / 433.1 MB, free: 4.832 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001686/0.301, allocations: 152.7 kB / 433.2 MB, free: 4.641 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000167/0.3012, allocations: 66.75 kB / 433.3 MB, free: 4.566 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.272e-05/0.3012, allocations: 44.98 kB / 433.3 MB, free: 4.52 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.142e-05/0.3013, allocations: 0 / 433.3 MB, free: 4.52 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.3013, allocations: 30.56 kB / 433.4 MB, free: 4.48 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 9.02e-07/0.3013, allocations: 7.938 kB / 433.4 MB, free: 4.473 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002248/0.3015, allocations: 101.6 kB / 433.5 MB, free: 4.367 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.914e-05/0.3016, allocations: 59.41 kB / 433.5 MB, free: 4.297 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.3017, allocations: 140.5 kB / 433.7 MB, free: 4.152 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.3017, allocations: 25.7 kB / 433.7 MB, free: 4.121 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.39e-05/0.3018, allocations: 92.08 kB / 433.8 MB, free: 4.027 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.76e-05/0.3018, allocations: 7.953 kB / 433.8 MB, free: 4.02 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.443e-05/0.3018, allocations: 29.64 kB / 433.8 MB, free: 3.984 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.302, allocations: 322.8 kB / 434.1 MB, free: 3.66 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.213e-05/0.302, allocations: 7.984 kB / 434.1 MB, free: 3.652 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.131e-05/0.3021, allocations: 66.8 kB / 434.2 MB, free: 3.562 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.941e-05/0.3022, allocations: 70.75 kB / 434.3 MB, free: 3.469 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.3022, allocations: 4 kB / 434.3 MB, free: 3.465 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001404/0.3023, allocations: 93.5 kB / 434.4 MB, free: 3.367 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.3023, allocations: 11.94 kB / 434.4 MB, free: 3.355 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.85e-06/0.3023, allocations: 0 / 434.4 MB, free: 3.355 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.3023, allocations: 4 kB / 434.4 MB, free: 3.352 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.321e-05/0.3024, allocations: 15.94 kB / 434.4 MB, free: 3.336 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.3024, allocations: 4 kB / 434.4 MB, free: 3.332 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.482e-05/0.3025, allocations: 3.938 kB / 434.4 MB, free: 3.328 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.3025, allocations: 11.98 kB / 434.4 MB, free: 3.316 MB / 334.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: 9 (sum.y,sum.u[2],sum.u[1],const.y,unitDelay1.y,$CLKPRE.unitDelay1.u,unitDelay1.u,assignClock1.y,assignClock1.u) * 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 0.0001156/0.3026, allocations: 130.1 kB / 434.5 MB, free: 3.18 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/0.3027, allocations: 85.5 kB / 434.6 MB, free: 3.09 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.26e-05/0.3028, allocations: 12.72 kB / 434.6 MB, free: 3.074 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.3028, allocations: 0 / 434.6 MB, free: 3.074 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.3028, allocations: 0 / 434.6 MB, free: 3.074 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3028, allocations: 0 / 434.6 MB, free: 3.074 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001344/0.3029, allocations: 152.7 kB / 434.8 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3029, allocations: 0 / 434.8 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.538e-05/0.303, allocations: 12 kB / 434.8 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.303, allocations: 7.938 kB / 434.8 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.593e-06/0.303, allocations: 0 / 434.8 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.303, allocations: 0 / 434.8 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.303, allocations: 0 / 434.8 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001475/0.3031, allocations: 113.4 kB / 434.9 MB, free: 2.734 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.62e-05/0.3032, allocations: 27.81 kB / 434.9 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.3032, allocations: 0 / 434.9 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.338e-05/0.3032, allocations: 4 kB / 435 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.285e-06/0.3032, allocations: 4 kB / 435 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.3032, allocations: 7.938 kB / 435 MB, free: 2.691 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.631e-05/0.3033, allocations: 107.2 kB / 435.1 MB, free: 2.586 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3033, allocations: 192 / 435.1 MB, free: 2.586 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001975/0.3035, allocations: 8 kB / 435.1 MB, free: 2.578 MB / 334.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: 8 (assignClock1.u,assignClock1.y,unitDelay1.u,unitDelay1.y,const.y,sum.u[1],sum.u[2],sum.y) * 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.0005243/0.304, allocations: 0.6866 MB / 435.8 MB, free: 1.863 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001216/0.3041, allocations: 47.91 kB / 435.8 MB, free: 1.816 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.3041, allocations: 0 / 435.8 MB, free: 1.816 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.91e-07/0.3041, allocations: 0 / 435.8 MB, free: 1.816 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002872/0.3044, allocations: 54.42 kB / 435.9 MB, free: 1.77 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.3057, allocations: 1.374 MB / 437.2 MB, free: 280 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000358/0.3061, allocations: 0.6963 MB / 437.9 MB, free: 15.55 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.242e-05/0.3061, allocations: 4.672 kB / 437.9 MB, free: 15.54 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.795e-05/0.3061, allocations: 23.42 kB / 438 MB, free: 15.52 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3061, allocations: 0 / 438 MB, free: 15.52 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02848/0.3346, allocations: 1.961 MB / 439.9 MB, free: 13.69 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/11.08, allocations: 11.81 kB / 439.9 MB, free: 13.68 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClock_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79641e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClock.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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: 13.64370598597452]