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.0012/0.0012, allocations: 104.2 kB / 17.2 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001218/0.001218, allocations: 213.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.311/1.311, allocations: 227.4 MB / 246.3 MB, free: 10.72 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 63.14 kB / 306.4 MB, free: 0.9219 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08937/0.09058, allocations: 50.54 MB / 356.9 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.002751/0.09338, allocations: 1.566 MB / 358.5 MB, free: 12.81 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003366/0.09374, allocations: 139.6 kB / 358.6 MB, free: 12.67 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.171e-05/0.09386, allocations: 4 kB / 358.6 MB, free: 12.67 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.426e-05/0.09391, allocations: 3.938 kB / 358.6 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001139/0.09403, allocations: 3.984 kB / 358.6 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002312/0.09427, allocations: 35.91 kB / 358.6 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.189e-05/0.09435, allocations: 31.88 kB / 358.7 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.901e-05/0.09444, allocations: 15.98 kB / 358.7 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.78e-05/0.09448, allocations: 7.938 kB / 358.7 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.988e-05/0.09451, allocations: 19.92 kB / 358.7 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.09453, allocations: 0 / 358.7 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.159e-05/0.09455, allocations: 4 kB / 358.7 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.639e-05/0.0946, allocations: 15.92 kB / 358.7 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.936e-05/0.09463, allocations: 19.86 kB / 358.8 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.396e-05/0.09473, allocations: 39.83 kB / 358.8 MB, free: 12.47 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.09474, allocations: 0 / 358.8 MB, free: 12.47 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.09475, allocations: 0 / 358.8 MB, free: 12.47 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.09476, allocations: 3.938 kB / 358.8 MB, free: 12.47 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.0003787/0.09514, allocations: 373.7 kB / 359.2 MB, free: 12.05 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.09518, allocations: 11.97 kB / 359.2 MB, free: 12.04 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.875e-05/0.09522, allocations: 30.75 kB / 359.2 MB, free: 12 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.724e-05/0.09525, allocations: 12.84 kB / 359.2 MB, free: 11.99 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001543/0.09541, allocations: 188.2 kB / 359.4 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.09543, allocations: 4.375 kB / 359.4 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.258e-05/0.09545, allocations: 8.375 kB / 359.4 MB, free: 11.76 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002369/0.09569, allocations: 113.5 kB / 359.5 MB, free: 11.63 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.09571, allocations: 7.938 kB / 359.5 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.545e-06/0.09573, allocations: 0 / 359.5 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.09574, allocations: 0 / 359.5 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.786e-05/0.0958, allocations: 12 kB / 359.5 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002689/0.09607, allocations: 261.7 kB / 359.8 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001481/0.09623, allocations: 138.2 kB / 359.9 MB, free: 11.13 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.267e-05/0.09629, allocations: 29.77 kB / 360 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.09632, allocations: 0 / 360 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.09635, allocations: 38.5 kB / 360 MB, free: 11.05 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.09635, allocations: 0 / 360 MB, free: 11.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002011/0.09656, allocations: 73.59 kB / 360.1 MB, free: 10.97 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/0.09661, allocations: 85.11 kB / 360.2 MB, free: 10.87 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.709e-05/0.09672, allocations: 132 kB / 360.3 MB, free: 10.73 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.173e-05/0.09674, allocations: 29.7 kB / 360.3 MB, free: 10.7 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.816e-05/0.09678, allocations: 80.14 kB / 360.4 MB, free: 10.61 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.022e-05/0.0968, allocations: 12.06 kB / 360.4 MB, free: 10.6 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.611e-05/0.09684, allocations: 21.7 kB / 360.4 MB, free: 10.57 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.747e-05/0.09693, allocations: 318.8 kB / 360.7 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.923e-05/0.09696, allocations: 4 kB / 360.7 MB, free: 10.25 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.6e-05/0.097, allocations: 35.42 kB / 360.8 MB, free: 10.2 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.035e-05/0.09707, allocations: 39.38 kB / 360.8 MB, free: 10.15 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.09708, allocations: 3.938 kB / 360.8 MB, free: 10.15 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001002/0.09719, allocations: 65.52 kB / 360.9 MB, free: 10.08 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.09721, allocations: 8 kB / 360.9 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.09722, allocations: 0 / 360.9 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.09723, allocations: 4.125 kB / 360.9 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.147e-05/0.09725, allocations: 7.938 kB / 360.9 MB, free: 10.06 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.09726, allocations: 0 / 360.9 MB, free: 10.06 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.882e-05/0.09729, allocations: 0 / 360.9 MB, free: 10.06 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.09731, allocations: 7.938 kB / 360.9 MB, free: 10.05 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.588e-05/0.09739, allocations: 126.8 kB / 361 MB, free: 9.918 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.419e-05/0.09746, allocations: 49.61 kB / 361.1 MB, free: 9.863 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.839e-05/0.09749, allocations: 11.89 kB / 361.1 MB, free: 9.844 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.0975, allocations: 0 / 361.1 MB, free: 9.844 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.09751, allocations: 11.94 kB / 361.1 MB, free: 9.832 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.09752, allocations: 0 / 361.1 MB, free: 9.832 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001455/0.09767, allocations: 173.6 kB / 361.3 MB, free: 9.613 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.09768, allocations: 0 / 361.3 MB, free: 9.613 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.645e-06/0.09769, allocations: 0 / 361.3 MB, free: 9.613 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.09769, allocations: 0 / 361.3 MB, free: 9.613 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.09771, allocations: 4 kB / 361.3 MB, free: 9.609 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.09771, allocations: 0 / 361.3 MB, free: 9.609 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.09772, allocations: 0 / 361.3 MB, free: 9.609 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001474/0.09787, allocations: 172.2 kB / 361.4 MB, free: 9.422 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.863e-05/0.09793, allocations: 89.09 kB / 361.5 MB, free: 9.316 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.09794, allocations: 0 / 361.5 MB, free: 9.316 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.642e-05/0.098, allocations: 4 kB / 361.5 MB, free: 9.312 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.269e-05/0.09803, allocations: 3.938 kB / 361.5 MB, free: 9.309 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.09804, allocations: 0 / 361.5 MB, free: 9.309 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.624e-05/0.0981, allocations: 103.3 kB / 361.6 MB, free: 9.207 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.09811, allocations: 0 / 361.6 MB, free: 9.207 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002272/0.09834, allocations: 11.91 kB / 361.6 MB, free: 9.195 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.0003706/0.09871, allocations: 0.6898 MB / 362.3 MB, free: 8.477 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001087/0.09883, allocations: 35.86 kB / 362.4 MB, free: 8.441 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.09884, allocations: 0 / 362.4 MB, free: 8.441 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.278e-05/0.09887, allocations: 4 kB / 362.4 MB, free: 8.438 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003372/0.09921, allocations: 28.38 kB / 362.4 MB, free: 8.41 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.1003, allocations: 1.309 MB / 363.7 MB, free: 6.996 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002073/0.1005, allocations: 0.6887 MB / 364.4 MB, free: 6.281 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.432e-05/0.1005, allocations: 8 kB / 364.4 MB, free: 6.273 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.482e-05/0.1005, allocations: 11.44 kB / 364.4 MB, free: 6.262 MB / 302.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1006, allocations: 3.938 kB / 364.4 MB, free: 6.258 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.586/2.687, allocations: 1.292 MB / 365.7 MB, free: 5.082 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002417/2.687, allocations: 218.7 kB / 365.9 MB, free: 4.82 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.718/4.405, allocations: 0 / 365.9 MB, free: 4.82 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