Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.Sample1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_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.001852/0.001852, allocations: 107.1 kB / 17.06 MB, free: 6.125 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.002098/0.002098, allocations: 199 kB / 18 MB, free: 5.199 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.084/2.084, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002046/0.002046, allocations: 51.92 kB / 350.8 MB, free: 3.754 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5294/0.5314, allocations: 49.43 MB / 400.2 MB, free: 8.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.005058/0.5366, allocations: 1.515 MB / 401.7 MB, free: 7.234 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006635/0.5373, allocations: 139.7 kB / 401.9 MB, free: 7.129 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001222/0.5374, allocations: 1.125 kB / 401.9 MB, free: 7.129 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 7.113e-05/0.5375, allocations: 13.02 kB / 401.9 MB, free: 7.117 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001868/0.5377, allocations: 5.219 kB / 401.9 MB, free: 7.113 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000377/0.5381, allocations: 38.77 kB / 401.9 MB, free: 7.086 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001436/0.5383, allocations: 32.48 kB / 402 MB, free: 7.066 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001482/0.5384, allocations: 12.16 kB / 402 MB, free: 7.059 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.754e-05/0.5385, allocations: 15.92 kB / 402 MB, free: 7.043 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.78e-05/0.5386, allocations: 15.88 kB / 402 MB, free: 7.027 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.491e-05/0.5386, allocations: 4 kB / 402 MB, free: 7.023 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.34e-05/0.5386, allocations: 4 kB / 402 MB, free: 7.02 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.557e-05/0.5387, allocations: 11.92 kB / 402 MB, free: 7.008 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.305e-05/0.5388, allocations: 19.88 kB / 402 MB, free: 6.988 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001721/0.539, allocations: 51.75 kB / 402.1 MB, free: 6.938 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.539, allocations: 0 / 402.1 MB, free: 6.938 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.916e-06/0.539, allocations: 0 / 402.1 MB, free: 6.938 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.539, allocations: 0 / 402.1 MB, free: 6.938 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.0007688/0.5398, allocations: 372.9 kB / 402.5 MB, free: 6.523 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.794e-05/0.5399, allocations: 8.031 kB / 402.5 MB, free: 6.516 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.979e-05/0.5399, allocations: 34.75 kB / 402.5 MB, free: 6.473 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.191e-05/0.54, allocations: 12.84 kB / 402.5 MB, free: 6.461 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003907/0.5404, allocations: 196.1 kB / 402.7 MB, free: 6.23 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.5404, allocations: 4.375 kB / 402.7 MB, free: 6.227 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.86e-05/0.5405, allocations: 4.375 kB / 402.7 MB, free: 6.223 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003927/0.5409, allocations: 117.5 kB / 402.8 MB, free: 6.09 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/0.5409, allocations: 7.922 kB / 402.8 MB, free: 6.082 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.5409, allocations: 0 / 402.8 MB, free: 6.082 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/0.5409, allocations: 0 / 402.8 MB, free: 6.082 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001086/0.5411, allocations: 23.92 kB / 402.9 MB, free: 6.059 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005477/0.5416, allocations: 261.8 kB / 403.1 MB, free: 5.75 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003449/0.542, allocations: 138.2 kB / 403.3 MB, free: 5.578 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002081/0.5422, allocations: 29.77 kB / 403.3 MB, free: 5.543 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/0.5422, allocations: 0 / 403.3 MB, free: 5.543 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.415e-05/0.5423, allocations: 38.56 kB / 403.3 MB, free: 5.496 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 4.509e-06/0.5423, allocations: 0 / 403.3 MB, free: 5.496 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.000401/0.5427, allocations: 81.45 kB / 403.4 MB, free: 5.41 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000115/0.5428, allocations: 81.11 kB / 403.5 MB, free: 5.312 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001843/0.543, allocations: 130.1 kB / 403.6 MB, free: 5.172 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.499e-05/0.5431, allocations: 29.69 kB / 403.6 MB, free: 5.137 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.455e-05/0.5432, allocations: 92.05 kB / 403.7 MB, free: 5.043 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.455e-05/0.5432, allocations: 4.125 kB / 403.7 MB, free: 5.039 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.188e-05/0.5433, allocations: 17.72 kB / 403.7 MB, free: 5.016 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002103/0.5435, allocations: 322.8 kB / 404.1 MB, free: 4.691 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.246e-05/0.5436, allocations: 7.938 kB / 404.1 MB, free: 4.684 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.297e-05/0.5437, allocations: 31.42 kB / 404.1 MB, free: 4.641 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001453/0.5438, allocations: 55.36 kB / 404.2 MB, free: 4.574 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-06/0.5438, allocations: 3.938 kB / 404.2 MB, free: 4.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001908/0.544, allocations: 61.53 kB / 404.2 MB, free: 4.504 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/0.5441, allocations: 8 kB / 404.2 MB, free: 4.496 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.5441, allocations: 8.109 kB / 404.2 MB, free: 4.488 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.5441, allocations: 0 / 404.2 MB, free: 4.488 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.582e-05/0.5442, allocations: 8 kB / 404.2 MB, free: 4.48 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.5442, allocations: 4 kB / 404.2 MB, free: 4.477 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.192e-05/0.5443, allocations: 0 / 404.2 MB, free: 4.477 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.311e-05/0.5443, allocations: 4 kB / 404.2 MB, free: 4.473 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.0001595/0.5445, allocations: 129.7 kB / 404.4 MB, free: 4.336 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.5446, allocations: 49.59 kB / 404.4 MB, free: 4.281 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.028e-05/0.5447, allocations: 16.25 kB / 404.4 MB, free: 4.258 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.5447, allocations: 0 / 404.4 MB, free: 4.258 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.5447, allocations: 0 / 404.4 MB, free: 4.258 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.5447, allocations: 0 / 404.4 MB, free: 4.258 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003367/0.5451, allocations: 177.5 kB / 404.6 MB, free: 4.035 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.5451, allocations: 3.938 kB / 404.6 MB, free: 4.031 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.028e-05/0.5452, allocations: 8 kB / 404.6 MB, free: 4.023 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.5452, allocations: 0 / 404.6 MB, free: 4.023 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.5452, allocations: 3.984 kB / 404.6 MB, free: 4.02 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.5452, allocations: 0 / 404.6 MB, free: 4.02 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.626e-06/0.5452, allocations: 3.938 kB / 404.6 MB, free: 4.016 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002867/0.5455, allocations: 176.5 kB / 404.8 MB, free: 3.824 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.641e-05/0.5456, allocations: 89.05 kB / 404.9 MB, free: 3.719 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.586e-05/0.5457, allocations: 3.984 kB / 404.9 MB, free: 3.715 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.5458, allocations: 4 kB / 404.9 MB, free: 3.711 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.838e-05/0.5458, allocations: 0 / 404.9 MB, free: 3.711 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.5458, allocations: 4 kB / 404.9 MB, free: 3.707 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001327/0.546, allocations: 106.2 kB / 405 MB, free: 3.605 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.546, allocations: 0 / 405 MB, free: 3.605 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004499/0.5465, allocations: 4 kB / 405 MB, free: 3.602 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.0007808/0.5472, allocations: 0.7131 MB / 405.7 MB, free: 2.859 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002182/0.5475, allocations: 31.92 kB / 405.8 MB, free: 2.828 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.5475, allocations: 0 / 405.8 MB, free: 2.828 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.818e-05/0.5476, allocations: 7.984 kB / 405.8 MB, free: 2.82 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005749/0.5481, allocations: 20.03 kB / 405.8 MB, free: 2.801 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002045/0.5502, allocations: 1.318 MB / 407.1 MB, free: 1.379 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004381/0.5507, allocations: 0.6922 MB / 407.8 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.474e-05/0.5507, allocations: 8 kB / 407.8 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.344e-05/0.5508, allocations: 11.55 kB / 407.8 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of SimCode: time 8.32e-07/0.5508, allocations: 0 / 407.8 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03253/0.5834, allocations: 1.484 MB / 409.3 MB, free: 15.26 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.3/12.88, allocations: 4.562 kB / 409.3 MB, free: 15.26 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches