Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001681/0.001681, allocations: 116.4 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002117/0.002117, allocations: 214.3 kB / 23.75 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.468/1.468, allocations: 230.5 MB / 257.4 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] 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.SampleClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 63.89 kB / 377.8 MB, free: 3.027 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2407/0.2426, allocations: 53.41 MB / 431.2 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.002828/0.2455, allocations: 1.53 MB / 432.7 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003701/0.2458, allocations: 139.5 kB / 432.8 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.663e-05/0.2459, allocations: 0 / 432.8 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.181e-05/0.246, allocations: 3.938 kB / 432.9 MB, free: 5.023 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001464/0.2461, allocations: 11.92 kB / 432.9 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002315/0.2463, allocations: 31.91 kB / 432.9 MB, free: 4.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001049/0.2464, allocations: 27.92 kB / 432.9 MB, free: 4.953 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.2465, allocations: 11.94 kB / 432.9 MB, free: 4.941 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.491e-05/0.2466, allocations: 7.984 kB / 432.9 MB, free: 4.934 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.906e-05/0.2466, allocations: 15.88 kB / 433 MB, free: 4.918 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.651e-05/0.2466, allocations: 4 kB / 433 MB, free: 4.914 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.101e-05/0.2467, allocations: 4 kB / 433 MB, free: 4.91 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.012e-05/0.2467, allocations: 11.98 kB / 433 MB, free: 4.898 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.791e-05/0.2467, allocations: 19.81 kB / 433 MB, free: 4.879 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001234/0.2469, allocations: 47.12 kB / 433 MB, free: 4.836 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.226e-06/0.2469, allocations: 0 / 433 MB, free: 4.836 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.2469, allocations: 4 kB / 433 MB, free: 4.832 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.826e-06/0.2469, allocations: 0 / 433 MB, free: 4.832 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004789/0.2474, allocations: 287 kB / 433.3 MB, free: 4.52 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.2474, allocations: 16.03 kB / 433.3 MB, free: 4.504 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.499e-05/0.2475, allocations: 30.75 kB / 433.4 MB, free: 4.465 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.788e-05/0.2475, allocations: 8.891 kB / 433.4 MB, free: 4.457 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002395/0.2477, allocations: 130.4 kB / 433.5 MB, free: 4.305 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.2477, allocations: 4.375 kB / 433.5 MB, free: 4.301 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.109e-05/0.2477, allocations: 4.312 kB / 433.5 MB, free: 4.297 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002548/0.248, allocations: 97.61 kB / 433.6 MB, free: 4.184 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.248, allocations: 3.938 kB / 433.6 MB, free: 4.18 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.186e-06/0.248, allocations: 0 / 433.6 MB, free: 4.18 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.248, allocations: 4 kB / 433.6 MB, free: 4.176 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.067e-05/0.2481, allocations: 15.92 kB / 433.6 MB, free: 4.16 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003351/0.2484, allocations: 232.9 kB / 433.9 MB, free: 3.887 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.695e-05/0.2485, allocations: 49.08 kB / 433.9 MB, free: 3.82 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.384e-05/0.2486, allocations: 17.78 kB / 433.9 MB, free: 3.797 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/0.2486, allocations: 0 / 433.9 MB, free: 3.797 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.2486, allocations: 34.55 kB / 434 MB, free: 3.754 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.2486, allocations: 4 kB / 434 MB, free: 3.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.000229/0.2489, allocations: 57.62 kB / 434 MB, free: 3.688 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.101e-05/0.2489, allocations: 81.11 kB / 434.1 MB, free: 3.59 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.2491, allocations: 141 kB / 434.2 MB, free: 3.441 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.2491, allocations: 25.7 kB / 434.3 MB, free: 3.41 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.179e-05/0.2492, allocations: 84.14 kB / 434.3 MB, free: 3.324 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.005e-06/0.2492, allocations: 8.25 kB / 434.4 MB, free: 3.316 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.426e-05/0.2492, allocations: 17.72 kB / 434.4 MB, free: 3.293 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.2493, allocations: 318.8 kB / 434.7 MB, free: 2.973 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.032e-05/0.2494, allocations: 8 kB / 434.7 MB, free: 2.965 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.988e-05/0.2494, allocations: 17.7 kB / 434.7 MB, free: 2.941 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.124e-05/0.2495, allocations: 29.78 kB / 434.7 MB, free: 2.906 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.2495, allocations: 3.938 kB / 434.7 MB, free: 2.902 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001199/0.2496, allocations: 61.55 kB / 434.8 MB, free: 2.836 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.2496, allocations: 4 kB / 434.8 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.2496, allocations: 0 / 434.8 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.2497, allocations: 0 / 434.8 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.003e-05/0.2497, allocations: 4 kB / 434.8 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.2497, allocations: 4 kB / 434.8 MB, free: 2.824 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.51e-05/0.2497, allocations: 4.062 kB / 434.8 MB, free: 2.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.2498, allocations: 7.984 kB / 434.8 MB, free: 2.812 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (step.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.153e-05/0.2498, allocations: 121.8 kB / 434.9 MB, free: 2.684 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.122e-05/0.2499, allocations: 41.59 kB / 435 MB, free: 2.637 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.218e-05/0.25, allocations: 19.69 kB / 435 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.25, allocations: 0 / 435 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.25, allocations: 3.938 kB / 435 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.25, allocations: 4 kB / 435 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001743/0.2501, allocations: 144.7 kB / 435.2 MB, free: 2.426 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.2501, allocations: 0 / 435.2 MB, free: 2.426 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.806e-05/0.2502, allocations: 7.984 kB / 435.2 MB, free: 2.418 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.2502, allocations: 0 / 435.2 MB, free: 2.418 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.771e-05/0.2502, allocations: 4 kB / 435.2 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2502, allocations: 0 / 435.2 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2502, allocations: 0 / 435.2 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001747/0.2504, allocations: 156.3 kB / 435.3 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.536e-05/0.2504, allocations: 15.94 kB / 435.3 MB, free: 2.227 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.293e-05/0.2504, allocations: 4 kB / 435.3 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.492e-05/0.2505, allocations: 0 / 435.3 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.833e-05/0.2505, allocations: 7.984 kB / 435.3 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.796e-06/0.2505, allocations: 0 / 435.3 MB, free: 2.215 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.709e-05/0.2506, allocations: 103.3 kB / 435.4 MB, free: 2.113 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2506, allocations: 0 / 435.4 MB, free: 2.113 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002101/0.2508, allocations: 0 / 435.4 MB, free: 2.113 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: 2 (step.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0005828/0.2514, allocations: 0.6937 MB / 436.1 MB, free: 1.391 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001256/0.2515, allocations: 28.02 kB / 436.2 MB, free: 1.363 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2515, allocations: 0 / 436.2 MB, free: 1.363 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.091e-05/0.2515, allocations: 4 kB / 436.2 MB, free: 1.359 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003273/0.2519, allocations: 18.77 kB / 436.2 MB, free: 1.344 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001376/0.2532, allocations: 1.271 MB / 437.5 MB, free: 15.98 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003574/0.2536, allocations: 0.6846 MB / 438.1 MB, free: 15.27 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.764e-05/0.2536, allocations: 7.938 kB / 438.1 MB, free: 15.26 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.825e-05/0.2537, allocations: 11.44 kB / 438.2 MB, free: 15.25 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2537, allocations: 0 / 438.2 MB, free: 15.25 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02931/0.283, allocations: 1.48 MB / 439.6 MB, free: 13.88 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.49, allocations: 7.797 kB / 439.6 MB, free: 13.87 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.99122e-05 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,sample1.y Variables in the result:time,step.startTime,sample1.y,step.y,periodicClock.factor,periodicClock.resolution [Calling sys.exit(0), Time elapsed: 14.112356580997584]