Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.Sample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.0007965/0.0007966, allocations: 97.12 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009576/0.0009578, allocations: 206.3 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.253/1.253, allocations: 227.7 MB / 246.8 MB, free: 11.28 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002031/0.0002031, allocations: 11.98 kB / 307.8 MB, free: 0.7148 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07764/0.07786, allocations: 51.52 MB / 359.4 MB, free: 13.19 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.00164/0.07954, allocations: 1.235 MB / 360.6 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003379/0.0799, allocations: 139.6 kB / 360.7 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.059e-05/0.07999, allocations: 0 / 360.7 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.211e-05/0.08003, allocations: 3.938 kB / 360.7 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001083/0.08014, allocations: 3.984 kB / 360.7 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002275/0.08038, allocations: 35.91 kB / 360.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.352e-05/0.08046, allocations: 27.92 kB / 360.8 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.316e-05/0.08056, allocations: 23.97 kB / 360.8 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.747e-05/0.0806, allocations: 15.86 kB / 360.8 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.503e-05/0.08064, allocations: 19.86 kB / 360.9 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.6e-05/0.08066, allocations: 0 / 360.9 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.576e-06/0.08067, allocations: 0 / 360.9 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.188e-05/0.08072, allocations: 15.92 kB / 360.9 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.843e-05/0.08077, allocations: 41.58 kB / 360.9 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 7.311e-05/0.08084, allocations: 39.81 kB / 361 MB, free: 11.58 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.08086, allocations: 3.984 kB / 361 MB, free: 11.58 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.08086, allocations: 3.938 kB / 361 MB, free: 11.57 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.507e-06/0.08087, allocations: 0 / 361 MB, free: 11.57 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.0003711/0.08125, allocations: 367.5 kB / 361.3 MB, free: 11.16 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.08129, allocations: 11.97 kB / 361.3 MB, free: 11.15 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.136e-05/0.08133, allocations: 30.75 kB / 361.4 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.393e-05/0.08136, allocations: 8.844 kB / 361.4 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/0.08152, allocations: 184.2 kB / 361.6 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.336e-06/0.08153, allocations: 4.375 kB / 361.6 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.815e-06/0.08155, allocations: 384 / 361.6 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002426/0.0818, allocations: 117.6 kB / 361.7 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.08182, allocations: 3.938 kB / 361.7 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.375e-06/0.08183, allocations: 7.938 kB / 361.7 MB, free: 10.74 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.08184, allocations: 4 kB / 361.7 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.811e-05/0.08192, allocations: 23.97 kB / 361.7 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002482/0.08218, allocations: 253.8 kB / 362 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00018/0.08237, allocations: 150.2 kB / 362.1 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.269e-05/0.08244, allocations: 29.77 kB / 362.1 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.425e-05/0.08247, allocations: 0 / 362.1 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.08249, allocations: 34.55 kB / 362.2 MB, free: 10.15 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.0825, allocations: 0 / 362.2 MB, free: 10.15 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002369/0.08274, allocations: 89.52 kB / 362.3 MB, free: 10.05 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.745e-05/0.0828, allocations: 81.05 kB / 362.3 MB, free: 9.957 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.08291, allocations: 136.6 kB / 362.5 MB, free: 9.812 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.08293, allocations: 29.7 kB / 362.5 MB, free: 9.777 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.109e-05/0.08298, allocations: 87.98 kB / 362.6 MB, free: 9.688 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.096e-05/0.08299, allocations: 7.984 kB / 362.6 MB, free: 9.68 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.261e-05/0.08302, allocations: 17.84 kB / 362.6 MB, free: 9.656 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.39e-05/0.08312, allocations: 314.8 kB / 362.9 MB, free: 9.34 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.071e-05/0.08317, allocations: 15.92 kB / 362.9 MB, free: 9.324 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.089e-05/0.08323, allocations: 31.44 kB / 363 MB, free: 9.281 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.266e-05/0.08332, allocations: 51.36 kB / 363 MB, free: 9.219 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.08333, allocations: 3.938 kB / 363 MB, free: 9.215 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001261/0.08346, allocations: 73.61 kB / 363.1 MB, free: 9.137 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.08348, allocations: 4 kB / 363.1 MB, free: 9.133 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.014e-06/0.08349, allocations: 4 kB / 363.1 MB, free: 9.129 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.08351, allocations: 0 / 363.1 MB, free: 9.129 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.797e-05/0.08357, allocations: 15.92 kB / 363.1 MB, free: 9.113 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.08359, allocations: 0 / 363.1 MB, free: 9.113 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.425e-05/0.08363, allocations: 7.938 kB / 363.1 MB, free: 9.105 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-06/0.08364, allocations: 4 kB / 363.1 MB, free: 9.102 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.839e-05/0.08372, allocations: 126.9 kB / 363.2 MB, free: 8.969 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.408e-05/0.08379, allocations: 49.88 kB / 363.3 MB, free: 8.914 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.093e-05/0.08383, allocations: 12.25 kB / 363.3 MB, free: 8.895 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.08384, allocations: 48 / 363.3 MB, free: 8.895 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.08385, allocations: 7.969 kB / 363.3 MB, free: 8.887 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.08386, allocations: 0 / 363.3 MB, free: 8.887 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001417/0.084, allocations: 173.6 kB / 363.5 MB, free: 8.668 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.08401, allocations: 3.984 kB / 363.5 MB, free: 8.664 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.72e-05/0.08406, allocations: 11.94 kB / 363.5 MB, free: 8.652 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.08407, allocations: 0 / 363.5 MB, free: 8.652 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.81e-06/0.08409, allocations: 4 kB / 363.5 MB, free: 8.648 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.736e-06/0.08409, allocations: 3.984 kB / 363.5 MB, free: 8.645 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.0841, allocations: 4 kB / 363.5 MB, free: 8.641 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00015/0.08425, allocations: 168.2 kB / 363.7 MB, free: 8.457 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.873e-05/0.08431, allocations: 93 kB / 363.8 MB, free: 8.348 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.08433, allocations: 8 kB / 363.8 MB, free: 8.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.497e-05/0.08439, allocations: 0 / 363.8 MB, free: 8.34 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.545e-05/0.08442, allocations: 7.984 kB / 363.8 MB, free: 8.332 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.08443, allocations: 0 / 363.8 MB, free: 8.332 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.786e-05/0.08449, allocations: 103.3 kB / 363.9 MB, free: 8.23 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.433e-06/0.0845, allocations: 3.938 kB / 363.9 MB, free: 8.227 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002098/0.08472, allocations: 7.938 kB / 363.9 MB, free: 8.219 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.000369/0.08509, allocations: 0.708 MB / 364.6 MB, free: 7.484 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001228/0.08522, allocations: 44.09 kB / 364.6 MB, free: 7.441 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.08524, allocations: 0 / 364.6 MB, free: 7.441 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.6e-05/0.08528, allocations: 8 kB / 364.7 MB, free: 7.434 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003052/0.08559, allocations: 26.36 kB / 364.7 MB, free: 7.41 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001036/0.08664, allocations: 1.352 MB / 366 MB, free: 5.949 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001981/0.08685, allocations: 0.6848 MB / 366.7 MB, free: 5.238 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.308e-05/0.08688, allocations: 3.984 kB / 366.7 MB, free: 5.234 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.164e-05/0.08692, allocations: 15.44 kB / 366.7 MB, free: 5.219 MB / 302.1 MB Notification: Performance of SimCode: time 2.124e-06/0.08692, allocations: 0 / 366.7 MB, free: 5.219 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009632/0.09656, allocations: 1.234 MB / 368 MB, free: 4.133 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001685/0.09675, allocations: 210.5 kB / 368.2 MB, free: 3.875 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.596/1.692, allocations: 0 / 368.2 MB, free: 3.875 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches