Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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.BooleanSignals.Sample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008434/0.0008434, allocations: 94.86 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009857/0.0009858, allocations: 201.1 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.247/1.247, allocations: 227.7 MB / 246.8 MB, free: 9.691 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001938/0.0001939, allocations: 4 kB / 307.8 MB, free: 0.5117 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08555/0.08576, allocations: 51.52 MB / 359.4 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.001679/0.08748, allocations: 1.223 MB / 360.6 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003489/0.08786, allocations: 135.5 kB / 360.7 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.834e-05/0.08795, allocations: 4 kB / 360.7 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.699e-05/0.08798, allocations: 0 / 360.7 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001033/0.08809, allocations: 7.938 kB / 360.7 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002211/0.08832, allocations: 35.91 kB / 360.8 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.461e-05/0.0884, allocations: 27.92 kB / 360.8 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.611e-05/0.0885, allocations: 15.98 kB / 360.8 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.707e-05/0.08853, allocations: 11.94 kB / 360.8 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.943e-05/0.08856, allocations: 19.84 kB / 360.8 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/0.08858, allocations: 0 / 360.8 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.017e-06/0.0886, allocations: 0 / 360.8 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.097e-05/0.08865, allocations: 11.94 kB / 360.9 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.066e-05/0.08869, allocations: 45.52 kB / 360.9 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 8.025e-05/0.08878, allocations: 47.8 kB / 360.9 MB, free: 11.39 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.08879, allocations: 0 / 360.9 MB, free: 11.39 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.08879, allocations: 0 / 360.9 MB, free: 11.39 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.336e-06/0.0888, allocations: 0 / 360.9 MB, free: 11.39 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.00036/0.08917, allocations: 351.6 kB / 361.3 MB, free: 10.99 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.08921, allocations: 12.03 kB / 361.3 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.389e-05/0.08925, allocations: 30.75 kB / 361.3 MB, free: 10.94 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.92e-05/0.08928, allocations: 8.844 kB / 361.3 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001626/0.08945, allocations: 200 kB / 361.5 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.08948, allocations: 8.359 kB / 361.5 MB, free: 10.69 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.998e-06/0.0895, allocations: 4.375 kB / 361.5 MB, free: 10.69 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002534/0.08976, allocations: 105.6 kB / 361.6 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.08978, allocations: 7.938 kB / 361.7 MB, free: 10.56 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.313e-06/0.08979, allocations: 4 kB / 361.7 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.0898, allocations: 0 / 361.7 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.13e-05/0.08986, allocations: 15.92 kB / 361.7 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002763/0.09015, allocations: 257.8 kB / 361.9 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001518/0.09031, allocations: 146.2 kB / 362.1 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.625e-05/0.09038, allocations: 25.78 kB / 362.1 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.43e-05/0.0904, allocations: 0 / 362.1 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.09043, allocations: 34.55 kB / 362.1 MB, free: 9.98 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 8.91e-07/0.09043, allocations: 4 kB / 362.1 MB, free: 9.977 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002129/0.09065, allocations: 77.66 kB / 362.2 MB, free: 9.895 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/0.09071, allocations: 77.11 kB / 362.3 MB, free: 9.801 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.09082, allocations: 136.5 kB / 362.4 MB, free: 9.66 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.095e-05/0.09084, allocations: 29.7 kB / 362.4 MB, free: 9.625 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.959e-05/0.09088, allocations: 84.14 kB / 362.5 MB, free: 9.539 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.015e-05/0.0909, allocations: 7.969 kB / 362.5 MB, free: 9.531 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.349e-05/0.09093, allocations: 21.72 kB / 362.6 MB, free: 9.504 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.952e-05/0.09102, allocations: 314.8 kB / 362.9 MB, free: 9.188 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.897e-05/0.09106, allocations: 4 kB / 362.9 MB, free: 9.184 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.659e-05/0.0911, allocations: 35.38 kB / 362.9 MB, free: 9.137 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.357e-05/0.09117, allocations: 43.42 kB / 362.9 MB, free: 9.082 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.09118, allocations: 3.938 kB / 363 MB, free: 9.078 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001037/0.09129, allocations: 69.5 kB / 363 MB, free: 9.004 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.09131, allocations: 8 kB / 363 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.09132, allocations: 4.125 kB / 363 MB, free: 8.992 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.358e-06/0.09133, allocations: 0 / 363 MB, free: 8.992 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.332e-05/0.09135, allocations: 7.984 kB / 363 MB, free: 8.984 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.09136, allocations: 0 / 363 MB, free: 8.984 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.129e-05/0.0914, allocations: 4 kB / 363 MB, free: 8.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.09141, allocations: 0 / 363 MB, free: 8.98 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (step.y,sample1.y,assignClock.y,assignClock.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 7.221e-05/0.09149, allocations: 130.8 kB / 363.2 MB, free: 8.844 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.526e-05/0.09156, allocations: 53.53 kB / 363.2 MB, free: 8.785 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.927e-05/0.09159, allocations: 11.91 kB / 363.2 MB, free: 8.766 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.0916, allocations: 0 / 363.2 MB, free: 8.766 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.09161, allocations: 4 kB / 363.2 MB, free: 8.762 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.09162, allocations: 0 / 363.2 MB, free: 8.762 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001391/0.09176, allocations: 165.6 kB / 363.4 MB, free: 8.551 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.09177, allocations: 4 kB / 363.4 MB, free: 8.547 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.644e-06/0.09178, allocations: 0 / 363.4 MB, free: 8.547 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.09179, allocations: 7.984 kB / 363.4 MB, free: 8.539 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.899e-06/0.0918, allocations: 0 / 363.4 MB, free: 8.539 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.0918, allocations: 0 / 363.4 MB, free: 8.539 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.09181, allocations: 0 / 363.4 MB, free: 8.539 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001404/0.09195, allocations: 176.2 kB / 363.6 MB, free: 8.348 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.75e-05/0.09201, allocations: 89 kB / 363.7 MB, free: 8.242 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.061e-05/0.09203, allocations: 0 / 363.7 MB, free: 8.242 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.324e-05/0.09209, allocations: 8 kB / 363.7 MB, free: 8.234 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.379e-05/0.09211, allocations: 3.984 kB / 363.7 MB, free: 8.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.09212, allocations: 0 / 363.7 MB, free: 8.23 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.331e-05/0.09218, allocations: 103.3 kB / 363.8 MB, free: 8.129 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.09219, allocations: 0 / 363.8 MB, free: 8.129 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002114/0.0924, allocations: 8 kB / 363.8 MB, free: 8.121 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (step.y,assignClock.u,assignClock.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0003508/0.09276, allocations: 0.6976 MB / 364.5 MB, free: 7.395 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 9.473e-05/0.09286, allocations: 27.98 kB / 364.5 MB, free: 7.367 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.09287, allocations: 3.938 kB / 364.5 MB, free: 7.363 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.456e-05/0.0929, allocations: 8 kB / 364.5 MB, free: 7.355 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002963/0.0932, allocations: 26.25 kB / 364.6 MB, free: 7.332 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009927/0.09421, allocations: 1.326 MB / 365.9 MB, free: 5.898 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002063/0.09443, allocations: 0.6926 MB / 366.6 MB, free: 5.18 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.876e-05/0.09445, allocations: 7.984 kB / 366.6 MB, free: 5.172 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.262e-05/0.09449, allocations: 15.42 kB / 366.6 MB, free: 5.156 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.0945, allocations: 0 / 366.6 MB, free: 5.156 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.00952/0.104, allocations: 1.219 MB / 367.8 MB, free: 4.086 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002118/0.1043, allocations: 217.5 kB / 368 MB, free: 3.824 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.582/1.686, allocations: 0 / 368 MB, free: 3.824 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches