Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClock,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClock,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009369/0.000937, allocations: 178.4 kB / 16.11 MB, free: 5.695 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.171/1.171, allocations: 205 MB / 221.9 MB, free: 9.141 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006505/0.0006505, allocations: 82.33 kB / 269.9 MB, free: 8.688 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06023/0.06023, allocations: 12.57 MB / 330.4 MB, free: 12.08 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003382/0.0003383, allocations: 8 kB / 391.2 MB, free: 66.34 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.087/0.08735, allocations: 49.99 MB / 441.1 MB, free: 16.3 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClock): time 0.001089/0.08849, allocations: 0.5741 MB / 441.7 MB, free: 15.72 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002926/0.0888, allocations: 111.7 kB / 441.8 MB, free: 15.61 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.871e-05/0.08889, allocations: 4 kB / 441.8 MB, free: 15.61 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000106/0.08901, allocations: 3.938 kB / 441.8 MB, free: 15.61 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001171/0.08913, allocations: 15.97 kB / 441.8 MB, free: 15.59 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001876/0.08933, allocations: 27.92 kB / 441.9 MB, free: 15.56 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.169e-05/0.08942, allocations: 35.91 kB / 441.9 MB, free: 15.53 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.08954, allocations: 35.91 kB / 441.9 MB, free: 15.49 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.52e-05/0.08957, allocations: 7.938 kB / 442 MB, free: 15.48 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.954e-05/0.08964, allocations: 19.92 kB / 442 MB, free: 15.46 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.08967, allocations: 0 / 442 MB, free: 15.46 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.038e-05/0.08969, allocations: 0 / 442 MB, free: 15.46 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.794e-05/0.08974, allocations: 15.92 kB / 442 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.903e-05/0.08979, allocations: 31.69 kB / 442 MB, free: 15.42 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.098e-05/0.08987, allocations: 51.8 kB / 442.1 MB, free: 15.37 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.08988, allocations: 0 / 442.1 MB, free: 15.37 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.08989, allocations: 4 kB / 442.1 MB, free: 15.36 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.467e-06/0.0899, allocations: 0 / 442.1 MB, free: 15.36 MB / 298.7 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.0003583/0.09026, allocations: 367.4 kB / 442.4 MB, free: 14.95 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.09031, allocations: 12.02 kB / 442.4 MB, free: 14.94 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.286e-05/0.09035, allocations: 38.75 kB / 442.5 MB, free: 14.89 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.919e-05/0.09038, allocations: 8.844 kB / 442.5 MB, free: 14.89 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001704/0.09056, allocations: 196.2 kB / 442.7 MB, free: 14.66 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.09058, allocations: 8.312 kB / 442.7 MB, free: 14.65 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.174e-05/0.0906, allocations: 8.375 kB / 442.7 MB, free: 14.64 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002545/0.09086, allocations: 139.7 kB / 442.8 MB, free: 14.49 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.926e-06/0.09087, allocations: 3.938 kB / 442.8 MB, free: 14.49 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.09089, allocations: 0 / 442.8 MB, free: 14.49 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.0909, allocations: 0 / 442.8 MB, free: 14.49 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.613e-05/0.09095, allocations: 23.98 kB / 442.9 MB, free: 14.46 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001215/0.09108, allocations: 173.6 kB / 443 MB, free: 14.25 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001456/0.09123, allocations: 82.64 kB / 443.1 MB, free: 14.16 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.929e-05/0.0913, allocations: 44.88 kB / 443.2 MB, free: 14.11 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.105e-06/0.09131, allocations: 0 / 443.2 MB, free: 14.11 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.663e-05/0.09134, allocations: 34.56 kB / 443.2 MB, free: 14.07 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 1.022e-06/0.09134, allocations: 4 kB / 443.2 MB, free: 14.06 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.000191/0.09154, allocations: 105.7 kB / 443.3 MB, free: 13.95 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/0.09159, allocations: 59.55 kB / 443.4 MB, free: 13.88 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.945e-05/0.09169, allocations: 141 kB / 443.5 MB, free: 13.74 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.067e-06/0.09171, allocations: 25.7 kB / 443.5 MB, free: 13.71 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.438e-05/0.09174, allocations: 92.11 kB / 443.6 MB, free: 13.61 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.552e-05/0.09176, allocations: 8 kB / 443.6 MB, free: 13.61 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.159e-05/0.09178, allocations: 13.72 kB / 443.6 MB, free: 13.59 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.653e-05/0.09183, allocations: 322.8 kB / 443.9 MB, free: 13.26 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.731e-05/0.09186, allocations: 12 kB / 444 MB, free: 13.25 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.451e-05/0.0919, allocations: 62.78 kB / 444 MB, free: 13.16 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.394e-05/0.09196, allocations: 74.8 kB / 444.1 MB, free: 13.07 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.09197, allocations: 0 / 444.1 MB, free: 13.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001013/0.09207, allocations: 97.41 kB / 444.2 MB, free: 12.96 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.0921, allocations: 7.938 kB / 444.2 MB, free: 12.96 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.09211, allocations: 0 / 444.2 MB, free: 12.96 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.09212, allocations: 4 kB / 444.2 MB, free: 12.95 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.96e-05/0.0922, allocations: 19.92 kB / 444.2 MB, free: 12.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.09221, allocations: 4 kB / 444.2 MB, free: 12.93 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.031e-05/0.09224, allocations: 4 kB / 444.2 MB, free: 12.93 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.09226, allocations: 11.94 kB / 444.2 MB, free: 12.91 MB / 298.7 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 6.779e-05/0.09233, allocations: 127 kB / 444.4 MB, free: 12.78 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.64e-05/0.09241, allocations: 85.47 kB / 444.4 MB, free: 12.69 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.96e-05/0.09245, allocations: 12.72 kB / 444.5 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.09246, allocations: 4.172 kB / 444.5 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.09246, allocations: 0 / 444.5 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.09247, allocations: 7.938 kB / 444.5 MB, free: 12.67 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.576e-05/0.09254, allocations: 169.6 kB / 444.6 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.09255, allocations: 0 / 444.6 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.496e-05/0.09261, allocations: 15.98 kB / 444.6 MB, free: 12.44 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.09262, allocations: 7.938 kB / 444.7 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-06/0.09263, allocations: 0 / 444.7 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.09264, allocations: 0 / 444.7 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.09264, allocations: 4 kB / 444.7 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.666e-05/0.09274, allocations: 109 kB / 444.8 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.939e-05/0.09279, allocations: 100.9 kB / 444.9 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.529e-05/0.09281, allocations: 0 / 444.9 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.131e-05/0.09284, allocations: 8 kB / 444.9 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.8e-06/0.09285, allocations: 4 kB / 444.9 MB, free: 12.17 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-06/0.09286, allocations: 0 / 444.9 MB, free: 12.17 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.195e-05/0.09291, allocations: 107.2 kB / 445 MB, free: 12.07 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09291, allocations: 4 kB / 445 MB, free: 12.06 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001994/0.09312, allocations: 4 kB / 445 MB, free: 12.06 MB / 298.7 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.0003124/0.09343, allocations: 0.6826 MB / 445.7 MB, free: 11.34 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.572e-05/0.09354, allocations: 47.86 kB / 445.7 MB, free: 11.3 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.09355, allocations: 0 / 445.7 MB, free: 11.3 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.02e-07/0.09356, allocations: 0 / 445.7 MB, free: 11.3 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002749/0.09383, allocations: 51.98 kB / 445.8 MB, free: 11.25 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008103/0.09466, allocations: 1.385 MB / 447.2 MB, free: 9.73 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00014/0.09481, allocations: 0.7004 MB / 447.9 MB, free: 9.004 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.807e-05/0.09484, allocations: 12.8 kB / 447.9 MB, free: 8.992 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.818e-05/0.09489, allocations: 19.42 kB / 447.9 MB, free: 8.973 MB / 298.7 MB Notification: Performance of SimCode: time 4.01e-07/0.09489, allocations: 0 / 447.9 MB, free: 8.973 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04074/0.1356, allocations: 1.568 MB / 449.5 MB, free: 7.398 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001674/0.1359, allocations: 227 kB / 449.7 MB, free: 7.145 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.852/1.988, allocations: 0 / 449.7 MB, free: 7.145 MB / 298.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClock.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClock.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClock.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClock.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClock_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_AssignClock_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_AssignClock.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClock.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches