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.001494/0.001493, allocations: 113.4 kB / 17.07 MB, free: 5.988 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.001515/0.001515, allocations: 193.4 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.535/1.535, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 51.92 kB / 350.8 MB, free: 3.738 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3402/0.3417, allocations: 49.43 MB / 400.2 MB, free: 8.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.003453/0.3452, allocations: 1.518 MB / 401.7 MB, free: 7.227 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005126/0.3458, allocations: 143.6 kB / 401.9 MB, free: 7.117 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001054/0.3459, allocations: 2.344 kB / 401.9 MB, free: 7.117 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.992e-05/0.346, allocations: 3.938 kB / 401.9 MB, free: 7.113 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001549/0.3462, allocations: 5 kB / 401.9 MB, free: 7.109 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002881/0.3465, allocations: 39.14 kB / 401.9 MB, free: 7.074 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000112/0.3466, allocations: 35.92 kB / 402 MB, free: 7.039 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.3467, allocations: 11.98 kB / 402 MB, free: 7.027 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.974e-05/0.3467, allocations: 11.94 kB / 402 MB, free: 7.016 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.377e-05/0.3468, allocations: 23.84 kB / 402 MB, free: 6.992 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.042e-05/0.3468, allocations: 4 kB / 402 MB, free: 6.988 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.164e-05/0.3468, allocations: 0 / 402 MB, free: 6.988 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.45e-05/0.3469, allocations: 15.94 kB / 402 MB, free: 6.973 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.603e-05/0.347, allocations: 23.86 kB / 402.1 MB, free: 6.949 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001355/0.3471, allocations: 46.66 kB / 402.1 MB, free: 6.906 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.3471, allocations: 4 kB / 402.1 MB, free: 6.902 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.3471, allocations: 0 / 402.1 MB, free: 6.902 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.3471, allocations: 0 / 402.1 MB, free: 6.902 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.0006206/0.3478, allocations: 379.1 kB / 402.5 MB, free: 6.48 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.3478, allocations: 8.031 kB / 402.5 MB, free: 6.473 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.847e-05/0.3479, allocations: 34.75 kB / 402.5 MB, free: 6.43 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.93e-05/0.3479, allocations: 8.891 kB / 402.5 MB, free: 6.422 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003275/0.3482, allocations: 184.3 kB / 402.7 MB, free: 6.203 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.3483, allocations: 8.312 kB / 402.7 MB, free: 6.195 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.035e-05/0.3483, allocations: 8.359 kB / 402.7 MB, free: 6.188 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003182/0.3486, allocations: 117.5 kB / 402.8 MB, free: 6.055 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.3486, allocations: 3.938 kB / 402.8 MB, free: 6.051 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.3486, allocations: 0 / 402.8 MB, free: 6.051 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.3487, allocations: 4 kB / 402.8 MB, free: 6.047 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.947e-05/0.3487, allocations: 15.98 kB / 402.9 MB, free: 6.031 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004663/0.3492, allocations: 273.6 kB / 403.1 MB, free: 5.711 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002372/0.3495, allocations: 134.2 kB / 403.3 MB, free: 5.543 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.325e-05/0.3496, allocations: 33.7 kB / 403.3 MB, free: 5.504 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.3496, allocations: 0 / 403.3 MB, free: 5.504 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.3496, allocations: 42.56 kB / 403.3 MB, free: 5.453 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.3496, allocations: 0 / 403.3 MB, free: 5.453 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002653/0.3499, allocations: 73.56 kB / 403.4 MB, free: 5.375 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.2e-05/0.35, allocations: 89.03 kB / 403.5 MB, free: 5.27 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.3501, allocations: 130.1 kB / 403.6 MB, free: 5.129 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.3501, allocations: 25.83 kB / 403.6 MB, free: 5.098 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.462e-05/0.3502, allocations: 92.14 kB / 403.7 MB, free: 5.004 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.466e-06/0.3502, allocations: 0 / 403.7 MB, free: 5.004 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.157e-05/0.3502, allocations: 25.66 kB / 403.8 MB, free: 4.973 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.3504, allocations: 314.8 kB / 404.1 MB, free: 4.656 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.492e-05/0.3504, allocations: 11.98 kB / 404.1 MB, free: 4.645 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.948e-05/0.3505, allocations: 27.44 kB / 404.1 MB, free: 4.605 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.198e-05/0.3506, allocations: 51.36 kB / 404.2 MB, free: 4.543 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.828e-06/0.3506, allocations: 3.938 kB / 404.2 MB, free: 4.539 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001308/0.3507, allocations: 77.58 kB / 404.2 MB, free: 4.457 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.3508, allocations: 6.5 kB / 404.2 MB, free: 4.453 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.3508, allocations: 0 / 404.2 MB, free: 4.453 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.3508, allocations: 4 kB / 404.2 MB, free: 4.449 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.552e-05/0.3509, allocations: 4 kB / 404.2 MB, free: 4.445 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.3509, allocations: 7.984 kB / 404.3 MB, free: 4.438 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.178e-05/0.3509, allocations: 0 / 404.3 MB, free: 4.438 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.3509, allocations: 4 kB / 404.3 MB, free: 4.434 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 9.262e-05/0.351, allocations: 121.9 kB / 404.4 MB, free: 4.305 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.484e-05/0.3511, allocations: 57.58 kB / 404.4 MB, free: 4.242 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.371e-05/0.3511, allocations: 12.25 kB / 404.4 MB, free: 4.223 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.3512, allocations: 0 / 404.4 MB, free: 4.223 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.3512, allocations: 0 / 404.4 MB, free: 4.223 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.3512, allocations: 4 kB / 404.5 MB, free: 4.219 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002102/0.3514, allocations: 169.9 kB / 404.6 MB, free: 4.004 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3514, allocations: 0 / 404.6 MB, free: 4.004 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.027e-05/0.3515, allocations: 11.98 kB / 404.6 MB, free: 3.992 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.3515, allocations: 0 / 404.6 MB, free: 3.992 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.3515, allocations: 3.938 kB / 404.6 MB, free: 3.988 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.135e-06/0.3515, allocations: 8 kB / 404.6 MB, free: 3.98 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.3515, allocations: 0 / 404.6 MB, free: 3.98 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001895/0.3517, allocations: 172.2 kB / 404.8 MB, free: 3.793 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.088e-05/0.3518, allocations: 93.05 kB / 404.9 MB, free: 3.684 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.699e-05/0.3518, allocations: 7.938 kB / 404.9 MB, free: 3.676 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.548e-05/0.3518, allocations: 0 / 404.9 MB, free: 3.676 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.745e-05/0.3519, allocations: 4 kB / 404.9 MB, free: 3.672 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.175e-06/0.3519, allocations: 4 kB / 404.9 MB, free: 3.668 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.99e-05/0.352, allocations: 114.8 kB / 405 MB, free: 3.559 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.352, allocations: 0 / 405 MB, free: 3.559 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002208/0.3522, allocations: 4 kB / 405 MB, free: 3.555 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.0005977/0.3528, allocations: 0.7092 MB / 405.7 MB, free: 2.816 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001493/0.353, allocations: 23.98 kB / 405.8 MB, free: 2.793 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.353, allocations: 0 / 405.8 MB, free: 2.793 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.681e-05/0.353, allocations: 11.92 kB / 405.8 MB, free: 2.781 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003343/0.3534, allocations: 22.02 kB / 405.8 MB, free: 2.762 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001424/0.3548, allocations: 1.314 MB / 407.1 MB, free: 1.344 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003474/0.3552, allocations: 0.6961 MB / 407.8 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.579e-05/0.3552, allocations: 4 kB / 407.8 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.105e-05/0.3553, allocations: 15.42 kB / 407.8 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3553, allocations: 0 / 407.8 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.021/0.3763, allocations: 1.482 MB / 409.3 MB, free: 15.23 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.913/8.289, allocations: 7.953 kB / 409.3 MB, free: 15.23 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