Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.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.BooleanSignals.Sample1,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_Sample1",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.0008903/0.0008974, allocations: 175.6 kB / 16.11 MB, free: 5.578 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.417/1.417, allocations: 205 MB / 221.9 MB, free: 9.145 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.0006822/0.0006821, allocations: 90.3 kB / 269.9 MB, free: 8.668 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.07766/0.07766, allocations: 12.57 MB / 330.4 MB, free: 12.07 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003103/0.0003104, allocations: 12 kB / 391.2 MB, free: 66.34 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08893/0.08926, allocations: 49.98 MB / 441.1 MB, free: 16.3 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1): time 0.001272/0.09058, allocations: 1.222 MB / 442.4 MB, free: 15.07 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002637/0.09086, allocations: 139.5 kB / 442.5 MB, free: 14.93 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.034e-05/0.09094, allocations: 4 kB / 442.5 MB, free: 14.93 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 6.578e-05/0.09104, allocations: 0 / 442.5 MB, free: 14.93 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.363e-05/0.09115, allocations: 7.922 kB / 442.5 MB, free: 14.92 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001912/0.09135, allocations: 31.92 kB / 442.5 MB, free: 14.89 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.095e-05/0.09141, allocations: 31.91 kB / 442.6 MB, free: 14.86 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.844e-05/0.09149, allocations: 24.2 kB / 442.6 MB, free: 14.83 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.986e-05/0.09152, allocations: 8 kB / 442.6 MB, free: 14.82 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.072e-05/0.09154, allocations: 15.86 kB / 442.6 MB, free: 14.81 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.265e-05/0.09156, allocations: 0 / 442.6 MB, free: 14.81 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.006e-06/0.09157, allocations: 0 / 442.6 MB, free: 14.81 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.688e-05/0.09161, allocations: 15.92 kB / 442.6 MB, free: 14.79 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.499e-05/0.09165, allocations: 15.88 kB / 442.7 MB, free: 14.78 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.487e-05/0.09172, allocations: 47.75 kB / 442.7 MB, free: 14.73 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.686e-06/0.09172, allocations: 0 / 442.7 MB, free: 14.73 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.09173, allocations: 4 kB / 442.7 MB, free: 14.73 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.437e-06/0.09174, allocations: 0 / 442.7 MB, free: 14.73 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0002404/0.09199, allocations: 355.2 kB / 443 MB, free: 14.33 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.828e-05/0.09202, allocations: 8.031 kB / 443.1 MB, free: 14.32 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.893e-05/0.09205, allocations: 34.75 kB / 443.1 MB, free: 14.28 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.96e-05/0.09207, allocations: 8.844 kB / 443.1 MB, free: 14.27 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.989e-05/0.09217, allocations: 188.1 kB / 443.3 MB, free: 14.05 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.09219, allocations: 4.375 kB / 443.3 MB, free: 14.04 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.276e-06/0.09221, allocations: 4.375 kB / 443.3 MB, free: 14.04 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001841/0.0924, allocations: 121.5 kB / 443.4 MB, free: 13.9 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.09241, allocations: 3.938 kB / 443.4 MB, free: 13.9 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.88e-06/0.09242, allocations: 0 / 443.4 MB, free: 13.9 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.076e-06/0.09243, allocations: 0 / 443.4 MB, free: 13.9 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.028e-05/0.09249, allocations: 31.92 kB / 443.4 MB, free: 13.87 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001721/0.09266, allocations: 253.8 kB / 443.7 MB, free: 13.57 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.746e-05/0.09277, allocations: 142.2 kB / 443.8 MB, free: 13.39 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.205e-05/0.09282, allocations: 29.78 kB / 443.9 MB, free: 13.36 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.46e-05/0.09285, allocations: 0 / 443.9 MB, free: 13.36 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.078e-05/0.09286, allocations: 34.55 kB / 443.9 MB, free: 13.31 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.09287, allocations: 0 / 443.9 MB, free: 13.31 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001607/0.09303, allocations: 73.53 kB / 444 MB, free: 13.23 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.268e-05/0.09307, allocations: 85.23 kB / 444 MB, free: 13.13 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.817e-05/0.09314, allocations: 141.8 kB / 444.2 MB, free: 12.98 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.09e-06/0.09315, allocations: 25.7 kB / 444.2 MB, free: 12.95 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.122e-05/0.09318, allocations: 80.14 kB / 444.3 MB, free: 12.87 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.301e-06/0.09319, allocations: 7.906 kB / 444.3 MB, free: 12.86 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.789e-05/0.09321, allocations: 13.72 kB / 444.3 MB, free: 12.84 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.437e-05/0.09325, allocations: 314.8 kB / 444.6 MB, free: 12.53 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.672e-05/0.09328, allocations: 12 kB / 444.6 MB, free: 12.52 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.661e-05/0.09332, allocations: 35.36 kB / 444.7 MB, free: 12.47 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.63e-05/0.09337, allocations: 39.44 kB / 444.7 MB, free: 12.42 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.09338, allocations: 3.938 kB / 444.7 MB, free: 12.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.428e-05/0.09347, allocations: 69.56 kB / 444.8 MB, free: 12.34 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.568e-06/0.09348, allocations: 4 kB / 444.8 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.09349, allocations: 0 / 444.8 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.416e-06/0.09351, allocations: 4 kB / 444.8 MB, free: 12.33 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.087e-06/0.09352, allocations: 3.984 kB / 444.8 MB, free: 12.33 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.09353, allocations: 0 / 444.8 MB, free: 12.33 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.691e-05/0.09356, allocations: 12.06 kB / 444.8 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.088e-06/0.09357, allocations: 0 / 444.8 MB, free: 12.32 MB / 298.7 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,sample.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 4.487e-05/0.09362, allocations: 122.7 kB / 444.9 MB, free: 12.19 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.267e-05/0.09368, allocations: 53.81 kB / 445 MB, free: 12.13 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.975e-05/0.0937, allocations: 7.953 kB / 445 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.09371, allocations: 7.984 kB / 445 MB, free: 12.11 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.09372, allocations: 0 / 445 MB, free: 12.11 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.09372, allocations: 0 / 445 MB, free: 12.11 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001168/0.09384, allocations: 169.6 kB / 445.2 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.09385, allocations: 7.938 kB / 445.2 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.965e-06/0.09387, allocations: 7.984 kB / 445.2 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.09387, allocations: 0 / 445.2 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.438e-06/0.09388, allocations: 0 / 445.2 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.09389, allocations: 0 / 445.2 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.09389, allocations: 0 / 445.2 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.839e-05/0.09399, allocations: 172.2 kB / 445.3 MB, free: 11.69 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.965e-05/0.09403, allocations: 93 kB / 445.4 MB, free: 11.58 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.149e-05/0.09405, allocations: 0 / 445.4 MB, free: 11.58 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.825e-05/0.0941, allocations: 4 kB / 445.4 MB, free: 11.58 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.759e-05/0.09413, allocations: 3.984 kB / 445.4 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.504e-06/0.09413, allocations: 0 / 445.4 MB, free: 11.57 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.439e-05/0.09417, allocations: 103.3 kB / 445.5 MB, free: 11.47 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.09418, allocations: 0 / 445.5 MB, free: 11.47 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001986/0.09438, allocations: 4 kB / 445.5 MB, free: 11.47 MB / 298.7 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,sample.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.0002107/0.0946, allocations: 0.7131 MB / 446.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.023e-05/0.09469, allocations: 24.17 kB / 446.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.0947, allocations: 4.062 kB / 446.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.989e-05/0.09472, allocations: 7.938 kB / 446.3 MB, free: 10.69 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002481/0.09498, allocations: 24.02 kB / 446.3 MB, free: 10.67 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000726/0.09571, allocations: 1.312 MB / 447.6 MB, free: 9.25 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.174e-05/0.09582, allocations: 0.6848 MB / 448.3 MB, free: 8.539 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.756e-05/0.09584, allocations: 7.984 kB / 448.3 MB, free: 8.531 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.5e-05/0.09587, allocations: 15.44 kB / 448.3 MB, free: 8.516 MB / 298.7 MB Notification: Performance of SimCode: time 2.21e-07/0.09588, allocations: 0 / 448.3 MB, free: 8.516 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02796/0.1238, allocations: 1.231 MB / 449.6 MB, free: 7.281 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000149/0.124, allocations: 222 kB / 449.8 MB, free: 7.027 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.58/1.704, allocations: 4 kB / 449.8 MB, free: 7.023 MB / 298.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_Sample1.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:Time,assignClock.y,step.y Variables in the result:assignClock.u,assignClock.y,periodicClock.factor,periodicClock.resolution,periodicClock.useSolver,sample.u,sample.y,step.startTime,step.startValue,step.y,time