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.001547/0.00155, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001307/0.001307, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.454/1.454, allocations: 227.4 MB / 247 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001864/0.001864, allocations: 63.89 kB / 358.3 MB, free: 13.37 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2491/0.251, allocations: 50.55 MB / 408.8 MB, free: 1.48 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.002699/0.2538, allocations: 1.515 MB / 410.3 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003843/0.2542, allocations: 135.5 kB / 410.5 MB, free: 15.83 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.959e-05/0.2542, allocations: 0 / 410.5 MB, free: 15.83 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.952e-05/0.2543, allocations: 7.938 kB / 410.5 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001243/0.2544, allocations: 7.938 kB / 410.5 MB, free: 15.81 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002252/0.2547, allocations: 47.83 kB / 410.5 MB, free: 15.77 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.542e-05/0.2548, allocations: 31.92 kB / 410.6 MB, free: 15.73 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.131e-05/0.2549, allocations: 15.98 kB / 410.6 MB, free: 15.72 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.917e-05/0.2549, allocations: 11.92 kB / 410.6 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.523e-05/0.255, allocations: 15.86 kB / 410.6 MB, free: 15.69 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.255, allocations: 4 kB / 410.6 MB, free: 15.69 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.236e-05/0.255, allocations: 4 kB / 410.6 MB, free: 15.68 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.028e-05/0.2551, allocations: 15.94 kB / 410.6 MB, free: 15.67 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.995e-05/0.2551, allocations: 23.86 kB / 410.7 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001111/0.2552, allocations: 50.7 kB / 410.7 MB, free: 15.6 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2552, allocations: 0 / 410.7 MB, free: 15.6 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2552, allocations: 0 / 410.7 MB, free: 15.6 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.666e-06/0.2553, allocations: 0 / 410.7 MB, free: 15.6 MB / 334.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.0004884/0.2558, allocations: 367.2 kB / 411.1 MB, free: 15.19 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.2558, allocations: 8.031 kB / 411.1 MB, free: 15.18 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.969e-05/0.2558, allocations: 38.69 kB / 411.1 MB, free: 15.13 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.843e-05/0.2559, allocations: 16.89 kB / 411.1 MB, free: 15.12 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002417/0.2561, allocations: 184.3 kB / 411.3 MB, free: 14.9 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.2561, allocations: 8.312 kB / 411.3 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.337e-05/0.2562, allocations: 4.375 kB / 411.3 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002784/0.2564, allocations: 117.6 kB / 411.4 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.2565, allocations: 3.938 kB / 411.4 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-06/0.2565, allocations: 0 / 411.4 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.2565, allocations: 0 / 411.4 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.54e-05/0.2566, allocations: 23.92 kB / 411.5 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003268/0.2569, allocations: 261.7 kB / 411.7 MB, free: 14.42 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002266/0.2572, allocations: 146.2 kB / 411.9 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.735e-05/0.2572, allocations: 25.77 kB / 411.9 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.2573, allocations: 4 kB / 411.9 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.2573, allocations: 34.55 kB / 411.9 MB, free: 14.16 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 2.985e-06/0.2573, allocations: 4 kB / 411.9 MB, free: 14.15 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002429/0.2576, allocations: 81.5 kB / 412 MB, free: 14.07 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.3e-05/0.2576, allocations: 81.11 kB / 412.1 MB, free: 13.97 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.2578, allocations: 145.3 kB / 412.2 MB, free: 13.82 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.885e-05/0.2578, allocations: 25.7 kB / 412.3 MB, free: 13.79 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.02e-05/0.2578, allocations: 84.14 kB / 412.3 MB, free: 13.7 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.478e-06/0.2579, allocations: 3.953 kB / 412.3 MB, free: 13.7 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.625e-05/0.2579, allocations: 25.84 kB / 412.4 MB, free: 13.66 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.258, allocations: 314.8 kB / 412.7 MB, free: 13.35 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.343e-05/0.2581, allocations: 8 kB / 412.7 MB, free: 13.34 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.305e-05/0.2581, allocations: 31.42 kB / 412.7 MB, free: 13.3 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.037e-05/0.2582, allocations: 51.36 kB / 412.8 MB, free: 13.23 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.2582, allocations: 3.938 kB / 412.8 MB, free: 13.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001274/0.2584, allocations: 69.61 kB / 412.8 MB, free: 13.16 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/0.2584, allocations: 6.812 kB / 412.8 MB, free: 13.15 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.2584, allocations: 4.125 kB / 412.8 MB, free: 13.15 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.2584, allocations: 4 kB / 412.8 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.747e-05/0.2585, allocations: 8 kB / 412.9 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.2585, allocations: 3.938 kB / 412.9 MB, free: 13.13 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.022e-05/0.2586, allocations: 11.94 kB / 412.9 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5e-06/0.2586, allocations: 0 / 412.9 MB, free: 13.12 MB / 334.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.203e-05/0.2587, allocations: 121.8 kB / 413 MB, free: 12.99 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.621e-05/0.2588, allocations: 49.64 kB / 413 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.146e-05/0.2588, allocations: 8.25 kB / 413 MB, free: 12.92 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.2588, allocations: 11.94 kB / 413.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.2588, allocations: 0 / 413.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.2588, allocations: 0 / 413.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001789/0.259, allocations: 169.6 kB / 413.2 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.259, allocations: 0 / 413.2 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.624e-05/0.2591, allocations: 15.98 kB / 413.2 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.2591, allocations: 3.938 kB / 413.2 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.355e-06/0.2591, allocations: 4 kB / 413.2 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.2591, allocations: 0 / 413.2 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2591, allocations: 0 / 413.2 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001865/0.2593, allocations: 172.3 kB / 413.4 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.836e-05/0.2594, allocations: 93.03 kB / 413.5 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.225e-05/0.2594, allocations: 0 / 413.5 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.01e-05/0.2595, allocations: 4 kB / 413.5 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.611e-05/0.2595, allocations: 0 / 413.5 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.466e-06/0.2595, allocations: 0 / 413.5 MB, free: 12.37 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.1e-05/0.2596, allocations: 115.2 kB / 413.6 MB, free: 12.25 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2596, allocations: 0 / 413.6 MB, free: 12.25 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002253/0.2598, allocations: 4 kB / 413.6 MB, free: 12.25 MB / 334.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.0005016/0.2603, allocations: 0.7054 MB / 414.3 MB, free: 11.52 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001315/0.2605, allocations: 32.34 kB / 414.4 MB, free: 11.48 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2605, allocations: 0 / 414.4 MB, free: 11.48 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.965e-05/0.2605, allocations: 11.98 kB / 414.4 MB, free: 11.47 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003113/0.2608, allocations: 18.39 kB / 414.4 MB, free: 11.46 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001289/0.2621, allocations: 1.326 MB / 415.7 MB, free: 10.03 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003254/0.2625, allocations: 0.6885 MB / 416.4 MB, free: 9.312 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.886e-05/0.2625, allocations: 8 kB / 416.4 MB, free: 9.305 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.493e-05/0.2626, allocations: 11.44 kB / 416.4 MB, free: 9.293 MB / 334.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2626, allocations: 0 / 416.4 MB, free: 9.293 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02221/0.2848, allocations: 1.461 MB / 417.9 MB, free: 7.941 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.932/8.217, allocations: 7.328 kB / 417.9 MB, free: 7.938 MB / 334.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.1.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