Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.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.001747/0.001747, allocations: 109.5 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.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.002108/0.002108, allocations: 187.4 kB / 23.72 MB, free: 4.684 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 / 252.5 MB, free: 13.04 MB / 206.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.IntegerSignals.AssignClock,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001822/0.001822, allocations: 51.92 kB / 370.4 MB, free: 9.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2662/0.268, allocations: 52.19 MB / 422.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.002331/0.2704, allocations: 0.8651 MB / 423.5 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004615/0.2708, allocations: 123.6 kB / 423.6 MB, free: 13.63 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001201/0.271, allocations: 4 kB / 423.6 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001221/0.2711, allocations: 7.875 kB / 423.6 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001483/0.2712, allocations: 7.922 kB / 423.6 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000253/0.2715, allocations: 39.91 kB / 423.7 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001343/0.2716, allocations: 35.91 kB / 423.7 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001314/0.2717, allocations: 19.98 kB / 423.7 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.504e-05/0.2718, allocations: 23.86 kB / 423.8 MB, free: 13.49 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.165e-05/0.2719, allocations: 15.92 kB / 423.8 MB, free: 13.48 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.768e-05/0.2719, allocations: 8 kB / 423.8 MB, free: 13.47 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.244e-05/0.2719, allocations: 4 kB / 423.8 MB, free: 13.46 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.382e-05/0.272, allocations: 19.92 kB / 423.8 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.844e-05/0.272, allocations: 27.8 kB / 423.8 MB, free: 13.42 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001634/0.2722, allocations: 63.11 kB / 423.9 MB, free: 13.36 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.2722, allocations: 0 / 423.9 MB, free: 13.36 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.2722, allocations: 0 / 423.9 MB, free: 13.36 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.613e-06/0.2722, allocations: 3.938 kB / 423.9 MB, free: 13.36 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.000587/0.2728, allocations: 306.9 kB / 424.2 MB, free: 13.02 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/0.2728, allocations: 8.031 kB / 424.2 MB, free: 13.01 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.782e-05/0.2729, allocations: 34.75 kB / 424.2 MB, free: 12.97 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.529e-05/0.2729, allocations: 16.89 kB / 424.3 MB, free: 12.95 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002427/0.2732, allocations: 138.3 kB / 424.4 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.2732, allocations: 4.375 kB / 424.4 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.532e-05/0.2732, allocations: 4.375 kB / 424.4 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003263/0.2735, allocations: 155.6 kB / 424.5 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.2735, allocations: 3.938 kB / 424.6 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.405e-06/0.2736, allocations: 0 / 424.6 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.2736, allocations: 0 / 424.6 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.295e-05/0.2736, allocations: 19.98 kB / 424.6 MB, free: 12.6 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001758/0.2738, allocations: 156.7 kB / 424.7 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001683/0.274, allocations: 78.69 kB / 424.8 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.569e-05/0.274, allocations: 36.84 kB / 424.8 MB, free: 12.28 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.503e-05/0.274, allocations: 4 kB / 424.8 MB, free: 12.27 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.507e-05/0.2741, allocations: 34.56 kB / 424.9 MB, free: 12.23 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.193e-06/0.2741, allocations: 0 / 424.9 MB, free: 12.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002308/0.2743, allocations: 101.5 kB / 425 MB, free: 12.12 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.973e-05/0.2744, allocations: 59.41 kB / 425 MB, free: 12.05 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/0.2745, allocations: 137.8 kB / 425.2 MB, free: 11.91 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.2745, allocations: 29.7 kB / 425.2 MB, free: 11.88 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.761e-05/0.2746, allocations: 88.14 kB / 425.3 MB, free: 11.79 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.205e-05/0.2746, allocations: 4 kB / 425.3 MB, free: 11.78 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.855e-05/0.2747, allocations: 29.66 kB / 425.3 MB, free: 11.75 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.2748, allocations: 314.8 kB / 425.6 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.734e-05/0.2748, allocations: 15.98 kB / 425.6 MB, free: 11.41 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.147e-05/0.2749, allocations: 58.86 kB / 425.7 MB, free: 11.33 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.872e-05/0.275, allocations: 74.75 kB / 425.8 MB, free: 11.23 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.275, allocations: 0 / 425.8 MB, free: 11.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001422/0.2751, allocations: 101.4 kB / 425.9 MB, free: 11.13 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.2751, allocations: 11.06 kB / 425.9 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.2752, allocations: 4.25 kB / 425.9 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.2752, allocations: 4 kB / 425.9 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.618e-05/0.2753, allocations: 16 kB / 425.9 MB, free: 11.1 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.2753, allocations: 3.938 kB / 425.9 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.784e-05/0.2753, allocations: 7.938 kB / 425.9 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.783e-05/0.2754, allocations: 11.98 kB / 425.9 MB, free: 11.07 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.0001081/0.2755, allocations: 117.8 kB / 426 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/0.2756, allocations: 85.72 kB / 426.1 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.871e-05/0.2757, allocations: 20.7 kB / 426.1 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.2757, allocations: 11.92 kB / 426.2 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.2757, allocations: 0 / 426.2 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.664e-06/0.2757, allocations: 192 / 426.2 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000121/0.2758, allocations: 140.7 kB / 426.3 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.2758, allocations: 3.938 kB / 426.3 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.456e-05/0.2759, allocations: 12 kB / 426.3 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.91e-06/0.2759, allocations: 3.938 kB / 426.3 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.2759, allocations: 4 kB / 426.3 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.2759, allocations: 0 / 426.3 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2759, allocations: 0 / 426.3 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001565/0.276, allocations: 117.4 kB / 426.4 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.107e-05/0.2761, allocations: 27.81 kB / 426.5 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.509e-05/0.2761, allocations: 0 / 426.5 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.414e-05/0.2761, allocations: 4 kB / 426.5 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.495e-06/0.2761, allocations: 3.938 kB / 426.5 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.704e-06/0.2761, allocations: 8 kB / 426.5 MB, free: 10.45 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.717e-05/0.2762, allocations: 107.2 kB / 426.6 MB, free: 10.34 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2762, allocations: 0 / 426.6 MB, free: 10.34 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002027/0.2764, allocations: 12 kB / 426.6 MB, free: 10.33 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.0005779/0.277, allocations: 0.6749 MB / 427.3 MB, free: 9.625 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000131/0.2771, allocations: 48.36 kB / 427.3 MB, free: 9.578 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2771, allocations: 8 kB / 427.3 MB, free: 9.57 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.11e-07/0.2771, allocations: 0 / 427.3 MB, free: 9.57 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003115/0.2774, allocations: 44 kB / 427.4 MB, free: 9.527 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/0.2788, allocations: 1.374 MB / 428.7 MB, free: 8.031 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003684/0.2792, allocations: 0.7002 MB / 429.4 MB, free: 7.305 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.003e-05/0.2792, allocations: 4.672 kB / 429.4 MB, free: 7.297 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.779e-05/0.2793, allocations: 19.44 kB / 429.5 MB, free: 7.277 MB / 334.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2793, allocations: 0 / 429.5 MB, free: 7.277 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02927/0.3085, allocations: 1.95 MB / 431.4 MB, free: 5.461 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/10.93, allocations: 7.5 kB / 431.4 MB, free: 5.457 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClock_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79641e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClock.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.270430533913895]