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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002171/0.002171, allocations: 109.2 kB / 17.06 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002969/0.002969, allocations: 198.9 kB / 18.01 MB, free: 5.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.245/2.245, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001728/0.001728, allocations: 55.91 kB / 350.8 MB, free: 3.742 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.46/0.4618, allocations: 49.45 MB / 400.2 MB, free: 8.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.00492/0.4667, allocations: 0.8444 MB / 401.1 MB, free: 7.789 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006461/0.4674, allocations: 119.1 kB / 401.2 MB, free: 7.699 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001445/0.4676, allocations: 2.188 kB / 401.2 MB, free: 7.699 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002414/0.4679, allocations: 7.875 kB / 401.2 MB, free: 7.691 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002009/0.4681, allocations: 14.02 kB / 401.2 MB, free: 7.68 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003882/0.4686, allocations: 35.62 kB / 401.3 MB, free: 7.656 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002001/0.4688, allocations: 39.25 kB / 401.3 MB, free: 7.633 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001776/0.469, allocations: 27.19 kB / 401.3 MB, free: 7.617 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.663e-05/0.469, allocations: 16.91 kB / 401.3 MB, free: 7.605 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001166/0.4692, allocations: 17.89 kB / 401.4 MB, free: 7.594 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.468e-05/0.4692, allocations: 4.344 kB / 401.4 MB, free: 7.594 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.028e-05/0.4692, allocations: 2.594 kB / 401.4 MB, free: 7.594 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.798e-05/0.4693, allocations: 22.67 kB / 401.4 MB, free: 7.578 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.187e-05/0.4695, allocations: 33.69 kB / 401.4 MB, free: 7.551 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002111/0.4697, allocations: 54.44 kB / 401.5 MB, free: 7.512 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.4697, allocations: 5.281 kB / 401.5 MB, free: 7.508 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.4697, allocations: 0 / 401.5 MB, free: 7.508 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.167e-06/0.4697, allocations: 0 / 401.5 MB, free: 7.508 MB / 318.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.0009082/0.4707, allocations: 385.9 kB / 401.9 MB, free: 7.105 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.064e-05/0.4707, allocations: 9.406 kB / 401.9 MB, free: 7.105 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.566e-05/0.4708, allocations: 40.55 kB / 401.9 MB, free: 7.059 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.734e-05/0.4709, allocations: 10.12 kB / 401.9 MB, free: 7.055 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003614/0.4713, allocations: 200.9 kB / 402.1 MB, free: 6.832 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.4713, allocations: 9.625 kB / 402.1 MB, free: 6.824 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.766e-05/0.4713, allocations: 4.438 kB / 402.1 MB, free: 6.824 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005076/0.4718, allocations: 141.7 kB / 402.3 MB, free: 6.691 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.4719, allocations: 7.938 kB / 402.3 MB, free: 6.684 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.4719, allocations: 0 / 402.3 MB, free: 6.684 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.4719, allocations: 0 / 402.3 MB, free: 6.684 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.958e-05/0.472, allocations: 23.98 kB / 402.3 MB, free: 6.66 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000275/0.4723, allocations: 169.7 kB / 402.5 MB, free: 6.445 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002594/0.4726, allocations: 78.64 kB / 402.5 MB, free: 6.359 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001218/0.4727, allocations: 44.88 kB / 402.6 MB, free: 6.312 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.411e-05/0.4728, allocations: 0 / 402.6 MB, free: 6.312 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.197e-05/0.4728, allocations: 34.56 kB / 402.6 MB, free: 6.27 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.593e-06/0.4728, allocations: 4 kB / 402.6 MB, free: 6.266 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003377/0.4732, allocations: 109.8 kB / 402.7 MB, free: 6.152 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.897e-05/0.4733, allocations: 51.41 kB / 402.8 MB, free: 6.09 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002102/0.4735, allocations: 145.7 kB / 402.9 MB, free: 5.938 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.4735, allocations: 25.7 kB / 402.9 MB, free: 5.906 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.804e-05/0.4736, allocations: 88.12 kB / 403 MB, free: 5.816 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.091e-05/0.4737, allocations: 4 kB / 403 MB, free: 5.812 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.502e-05/0.4737, allocations: 29.7 kB / 403.1 MB, free: 5.777 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001716/0.4739, allocations: 318.8 kB / 403.4 MB, free: 5.457 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.319e-05/0.474, allocations: 11.98 kB / 403.4 MB, free: 5.445 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.003e-05/0.4741, allocations: 50.95 kB / 403.4 MB, free: 5.371 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/0.4743, allocations: 82.73 kB / 403.5 MB, free: 5.266 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.4743, allocations: 0 / 403.5 MB, free: 5.266 MB / 318.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002457/0.4745, allocations: 93.41 kB / 403.6 MB, free: 5.168 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.052e-05/0.4746, allocations: 9.969 kB / 403.6 MB, free: 5.16 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.4746, allocations: 7.922 kB / 403.6 MB, free: 5.152 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.545e-05/0.4746, allocations: 7.984 kB / 403.6 MB, free: 5.145 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.4748, allocations: 16 kB / 403.7 MB, free: 5.129 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.619e-05/0.4748, allocations: 7.938 kB / 403.7 MB, free: 5.121 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.579e-05/0.4749, allocations: 7.906 kB / 403.7 MB, free: 5.113 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.115e-05/0.4749, allocations: 4.25 kB / 403.7 MB, free: 5.109 MB / 318.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.0001845/0.4751, allocations: 133.8 kB / 403.8 MB, free: 4.969 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001916/0.4753, allocations: 77.53 kB / 403.9 MB, free: 4.887 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.14e-05/0.4754, allocations: 16.89 kB / 403.9 MB, free: 4.867 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.4754, allocations: 0 / 403.9 MB, free: 4.867 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.4755, allocations: 3.938 kB / 403.9 MB, free: 4.863 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.4755, allocations: 4 kB / 403.9 MB, free: 4.859 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001964/0.4757, allocations: 169.7 kB / 404.1 MB, free: 4.645 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.4757, allocations: 3.938 kB / 404.1 MB, free: 4.641 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000129/0.4758, allocations: 19.98 kB / 404.1 MB, free: 4.621 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-05/0.4759, allocations: 3.938 kB / 404.1 MB, free: 4.617 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.4759, allocations: 4 kB / 404.1 MB, free: 4.613 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.4759, allocations: 0 / 404.1 MB, free: 4.613 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.4759, allocations: 4 kB / 404.1 MB, free: 4.609 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002381/0.4762, allocations: 109 kB / 404.2 MB, free: 4.484 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001277/0.4763, allocations: 100.9 kB / 404.3 MB, free: 4.367 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.911e-05/0.4764, allocations: 0 / 404.3 MB, free: 4.367 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.297e-05/0.4764, allocations: 8 kB / 404.3 MB, free: 4.359 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.308e-06/0.4764, allocations: 0 / 404.3 MB, free: 4.359 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.144e-06/0.4765, allocations: 0 / 404.3 MB, free: 4.359 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001224/0.4766, allocations: 107.2 kB / 404.4 MB, free: 4.254 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.4766, allocations: 7.938 kB / 404.4 MB, free: 4.246 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004064/0.477, allocations: 8 kB / 404.4 MB, free: 4.238 MB / 318.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.0008164/0.4779, allocations: 0.6826 MB / 405.1 MB, free: 3.527 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002073/0.4781, allocations: 47.86 kB / 405.2 MB, free: 3.48 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.4781, allocations: 0 / 405.2 MB, free: 3.48 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.13e-06/0.4781, allocations: 0 / 405.2 MB, free: 3.48 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005102/0.4786, allocations: 55.17 kB / 405.2 MB, free: 3.43 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002109/0.4808, allocations: 1.368 MB / 406.6 MB, free: 1.938 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004306/0.4812, allocations: 0.7079 MB / 407.3 MB, free: 1.203 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.295e-05/0.4813, allocations: 4.672 kB / 407.3 MB, free: 1.195 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.759e-05/0.4814, allocations: 15.53 kB / 407.3 MB, free: 1.18 MB / 318.1 MB Notification: Performance of SimCode: time 8.51e-07/0.4814, allocations: 7.938 kB / 407.3 MB, free: 1.172 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03126/0.5126, allocations: 1.838 MB / 409.2 MB, free: 15.45 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/12.06, allocations: 4.688 kB / 409.2 MB, free: 15.45 MB / 334.1 MB (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 --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) 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) Reference file matches