Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.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.BooleanSignals.Sample1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 111.8 kB / 17.06 MB, free: 5.992 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.001299/0.001299, allocations: 196 kB / 18 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.494/1.494, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00162/0.00162, allocations: 51.91 kB / 350.8 MB, free: 3.758 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3004/0.302, allocations: 49.43 MB / 400.2 MB, free: 8.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.003216/0.3053, allocations: 1.497 MB / 401.7 MB, free: 7.25 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004369/0.3058, allocations: 139.6 kB / 401.9 MB, free: 7.145 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.127e-05/0.3059, allocations: 1.312 kB / 401.9 MB, free: 7.145 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.627e-05/0.3059, allocations: 3.938 kB / 401.9 MB, free: 7.141 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001307/0.3061, allocations: 14.36 kB / 401.9 MB, free: 7.129 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002557/0.3063, allocations: 42.47 kB / 401.9 MB, free: 7.098 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001161/0.3065, allocations: 27.77 kB / 401.9 MB, free: 7.082 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.3066, allocations: 19.41 kB / 402 MB, free: 7.07 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.561e-05/0.3066, allocations: 20.17 kB / 402 MB, free: 7.055 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.769e-05/0.3067, allocations: 19.11 kB / 402 MB, free: 7.039 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.323e-05/0.3067, allocations: 2.156 kB / 402 MB, free: 7.039 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.223e-05/0.3067, allocations: 3.125 kB / 402 MB, free: 7.039 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.877e-05/0.3068, allocations: 11.2 kB / 402 MB, free: 7.031 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.42e-05/0.3068, allocations: 23.81 kB / 402 MB, free: 7.008 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001146/0.307, allocations: 42.91 kB / 402.1 MB, free: 6.969 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.307, allocations: 0 / 402.1 MB, free: 6.969 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.307, allocations: 0 / 402.1 MB, free: 6.969 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.307, allocations: 4 kB / 402.1 MB, free: 6.965 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000477/0.3075, allocations: 369.8 kB / 402.5 MB, free: 6.555 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.3075, allocations: 11.97 kB / 402.5 MB, free: 6.543 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.273e-05/0.3076, allocations: 38.75 kB / 402.5 MB, free: 6.496 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.84e-05/0.3076, allocations: 12.88 kB / 402.5 MB, free: 6.484 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002346/0.3078, allocations: 188.2 kB / 402.7 MB, free: 6.262 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.3079, allocations: 4.375 kB / 402.7 MB, free: 6.258 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.775e-06/0.3079, allocations: 384 / 402.7 MB, free: 6.258 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002638/0.3081, allocations: 117.6 kB / 402.8 MB, free: 6.125 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.3082, allocations: 3.938 kB / 402.8 MB, free: 6.121 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.214e-06/0.3082, allocations: 0 / 402.8 MB, free: 6.121 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.3082, allocations: 4 kB / 402.8 MB, free: 6.117 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.355e-05/0.3083, allocations: 19.92 kB / 402.8 MB, free: 6.098 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003389/0.3086, allocations: 265.8 kB / 403.1 MB, free: 5.785 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001983/0.3088, allocations: 134.2 kB / 403.2 MB, free: 5.617 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.034e-05/0.3089, allocations: 33.77 kB / 403.3 MB, free: 5.578 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.519e-05/0.3089, allocations: 0 / 403.3 MB, free: 5.578 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.309, allocations: 34.56 kB / 403.3 MB, free: 5.535 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.309, allocations: 0 / 403.3 MB, free: 5.535 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002666/0.3092, allocations: 73.56 kB / 403.4 MB, free: 5.457 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.708e-05/0.3093, allocations: 77.11 kB / 403.4 MB, free: 5.363 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.3095, allocations: 133.8 kB / 403.6 MB, free: 5.223 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.3095, allocations: 25.7 kB / 403.6 MB, free: 5.191 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.041e-05/0.3096, allocations: 96.2 kB / 403.7 MB, free: 5.094 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.04e-05/0.3096, allocations: 3.938 kB / 403.7 MB, free: 5.09 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.796e-05/0.3097, allocations: 21.72 kB / 403.7 MB, free: 5.062 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.3098, allocations: 310.8 kB / 404 MB, free: 4.75 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.922e-05/0.3099, allocations: 15.92 kB / 404 MB, free: 4.734 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.052e-05/0.3099, allocations: 23.44 kB / 404.1 MB, free: 4.699 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.667e-05/0.31, allocations: 47.36 kB / 404.1 MB, free: 4.641 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.31, allocations: 3.938 kB / 404.1 MB, free: 4.637 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001262/0.3101, allocations: 65.58 kB / 404.2 MB, free: 4.566 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.3102, allocations: 8.125 kB / 404.2 MB, free: 4.559 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.3102, allocations: 4 kB / 404.2 MB, free: 4.555 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.3102, allocations: 3.938 kB / 404.2 MB, free: 4.551 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.118e-05/0.3102, allocations: 0 / 404.2 MB, free: 4.551 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.769e-06/0.3102, allocations: 4 kB / 404.2 MB, free: 4.547 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.378e-05/0.3103, allocations: 3.984 kB / 404.2 MB, free: 4.543 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/0.3103, allocations: 4 kB / 404.2 MB, free: 4.539 MB / 318.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 0.0001044/0.3104, allocations: 125.7 kB / 404.3 MB, free: 4.406 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.852e-05/0.3105, allocations: 49.92 kB / 404.4 MB, free: 4.352 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.436e-05/0.3106, allocations: 15.91 kB / 404.4 MB, free: 4.328 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.3106, allocations: 48 / 404.4 MB, free: 4.328 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.3106, allocations: 3.984 kB / 404.4 MB, free: 4.324 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.3106, allocations: 0 / 404.4 MB, free: 4.324 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001927/0.3108, allocations: 169.6 kB / 404.6 MB, free: 4.109 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.3108, allocations: 4 kB / 404.6 MB, free: 4.105 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.765e-06/0.3108, allocations: 0 / 404.6 MB, free: 4.105 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.3108, allocations: 0 / 404.6 MB, free: 4.105 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.3108, allocations: 4 kB / 404.6 MB, free: 4.102 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.507e-06/0.3108, allocations: 4 kB / 404.6 MB, free: 4.098 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.3109, allocations: 0 / 404.6 MB, free: 4.098 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001812/0.311, allocations: 172.2 kB / 404.7 MB, free: 3.91 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.55e-05/0.3111, allocations: 85.09 kB / 404.8 MB, free: 3.809 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.3111, allocations: 4 kB / 404.8 MB, free: 3.805 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.206e-05/0.3112, allocations: 0 / 404.8 MB, free: 3.805 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.832e-05/0.3112, allocations: 4 kB / 404.8 MB, free: 3.801 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/0.3112, allocations: 4 kB / 404.8 MB, free: 3.797 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.449e-05/0.3113, allocations: 114.2 kB / 405 MB, free: 3.688 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3113, allocations: 0 / 405 MB, free: 3.688 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002251/0.3116, allocations: 4 kB / 405 MB, free: 3.684 MB / 318.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.0005091/0.3121, allocations: 0.7092 MB / 405.7 MB, free: 2.945 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000131/0.3122, allocations: 27.92 kB / 405.7 MB, free: 2.918 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3122, allocations: 0 / 405.7 MB, free: 2.918 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.621e-05/0.3123, allocations: 7.938 kB / 405.7 MB, free: 2.91 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003382/0.3126, allocations: 20.02 kB / 405.7 MB, free: 2.891 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001303/0.3139, allocations: 1.303 MB / 407 MB, free: 1.484 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003199/0.3143, allocations: 0.6922 MB / 407.7 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.799e-05/0.3143, allocations: 0 / 407.7 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.865e-05/0.3143, allocations: 15.44 kB / 407.7 MB, free: 0.75 MB / 318.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3143, allocations: 4 kB / 407.7 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02434/0.3387, allocations: 1.474 MB / 409.2 MB, free: 15.39 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.866/8.204, allocations: 4.562 kB / 409.2 MB, free: 15.38 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches