Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001464/0.001464, allocations: 211.2 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.405/1.405, allocations: 230.6 MB / 257.5 MB, free: 7.75 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001742/0.001742, allocations: 47.92 kB / 377.7 MB, free: 3.062 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2369/0.2386, allocations: 53.38 MB / 431.1 MB, free: 6.652 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.002821/0.2414, allocations: 1.526 MB / 432.6 MB, free: 5.121 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003912/0.2418, allocations: 135.5 kB / 432.7 MB, free: 4.988 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.464e-05/0.2419, allocations: 3.938 kB / 432.7 MB, free: 4.984 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.189e-05/0.2419, allocations: 7.922 kB / 432.8 MB, free: 4.977 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001546/0.2421, allocations: 7.922 kB / 432.8 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002455/0.2423, allocations: 31.92 kB / 432.8 MB, free: 4.938 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001006/0.2424, allocations: 35.91 kB / 432.8 MB, free: 4.902 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.2425, allocations: 15.98 kB / 432.8 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.616e-05/0.2426, allocations: 15.86 kB / 432.9 MB, free: 4.871 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.384e-05/0.2426, allocations: 19.88 kB / 432.9 MB, free: 4.852 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.2426, allocations: 0 / 432.9 MB, free: 4.852 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.346e-05/0.2427, allocations: 4 kB / 432.9 MB, free: 4.848 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.904e-05/0.2427, allocations: 11.98 kB / 432.9 MB, free: 4.836 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.093e-05/0.2427, allocations: 15.88 kB / 432.9 MB, free: 4.82 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000124/0.2429, allocations: 55.06 kB / 433 MB, free: 4.77 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.2429, allocations: 0 / 433 MB, free: 4.77 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.2429, allocations: 0 / 433 MB, free: 4.77 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.2429, allocations: 0 / 433 MB, free: 4.77 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.0004506/0.2433, allocations: 299 kB / 433.3 MB, free: 4.445 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.2434, allocations: 12.03 kB / 433.3 MB, free: 4.434 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.3e-05/0.2434, allocations: 34.73 kB / 433.3 MB, free: 4.391 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.613e-05/0.2434, allocations: 12.89 kB / 433.3 MB, free: 4.379 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002388/0.2437, allocations: 134.4 kB / 433.4 MB, free: 4.223 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.2437, allocations: 4.375 kB / 433.4 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.023e-05/0.2437, allocations: 4.375 kB / 433.5 MB, free: 4.215 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002971/0.244, allocations: 121.6 kB / 433.6 MB, free: 4.078 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.244, allocations: 3.938 kB / 433.6 MB, free: 4.074 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.244, allocations: 0 / 433.6 MB, free: 4.074 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.244, allocations: 0 / 433.6 MB, free: 4.074 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.976e-05/0.2441, allocations: 23.92 kB / 433.6 MB, free: 4.051 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003021/0.2444, allocations: 224.8 kB / 433.8 MB, free: 3.785 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001844/0.2446, allocations: 69.06 kB / 433.9 MB, free: 3.699 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.395e-05/0.2446, allocations: 25.77 kB / 433.9 MB, free: 3.668 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.48e-05/0.2447, allocations: 8 kB / 433.9 MB, free: 3.66 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.2447, allocations: 38.48 kB / 434 MB, free: 3.613 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.2447, allocations: 0 / 434 MB, free: 3.613 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002598/0.2449, allocations: 77.56 kB / 434 MB, free: 3.531 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.63e-05/0.245, allocations: 85.11 kB / 434.1 MB, free: 3.43 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.2451, allocations: 132.8 kB / 434.2 MB, free: 3.289 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.2452, allocations: 25.7 kB / 434.3 MB, free: 3.258 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.053e-05/0.2452, allocations: 88.14 kB / 434.4 MB, free: 3.168 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.171e-05/0.2452, allocations: 7.938 kB / 434.4 MB, free: 3.16 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-05/0.2453, allocations: 21.84 kB / 434.4 MB, free: 3.133 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.2454, allocations: 314.8 kB / 434.7 MB, free: 2.816 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.133e-05/0.2455, allocations: 7.984 kB / 434.7 MB, free: 2.809 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.795e-05/0.2455, allocations: 39.36 kB / 434.7 MB, free: 2.758 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.246e-05/0.2456, allocations: 39.42 kB / 434.8 MB, free: 2.707 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.171e-06/0.2456, allocations: 11.88 kB / 434.8 MB, free: 2.695 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001231/0.2457, allocations: 61.62 kB / 434.8 MB, free: 2.629 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.2457, allocations: 4 kB / 434.9 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-06/0.2457, allocations: 7.938 kB / 434.9 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.2458, allocations: 0 / 434.9 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.502e-05/0.2458, allocations: 15.98 kB / 434.9 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.2458, allocations: 0 / 434.9 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.611e-05/0.2459, allocations: 7.953 kB / 434.9 MB, free: 2.594 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.99e-06/0.2459, allocations: 0 / 434.9 MB, free: 2.594 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.9e-05/0.246, allocations: 129.8 kB / 435 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.943e-05/0.246, allocations: 45.69 kB / 435.1 MB, free: 2.406 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.314e-05/0.2461, allocations: 8.344 kB / 435.1 MB, free: 2.391 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/0.2461, allocations: 7.984 kB / 435.1 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.2461, allocations: 0 / 435.1 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.2461, allocations: 0 / 435.1 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001666/0.2463, allocations: 136.6 kB / 435.2 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.2463, allocations: 4 kB / 435.2 MB, free: 2.203 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.691e-05/0.2463, allocations: 7.984 kB / 435.2 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.2463, allocations: 4 kB / 435.2 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.2463, allocations: 4 kB / 435.2 MB, free: 2.188 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.2463, allocations: 4 kB / 435.2 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2463, allocations: 3.938 kB / 435.2 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002038/0.2465, allocations: 172.3 kB / 435.4 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.701e-05/0.2466, allocations: 11.95 kB / 435.4 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.2466, allocations: 384 / 435.4 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.947e-05/0.2466, allocations: 7.984 kB / 435.4 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.286e-05/0.2467, allocations: 4 kB / 435.4 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.2467, allocations: 0 / 435.4 MB, free: 1.969 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.952e-05/0.2468, allocations: 107.2 kB / 435.5 MB, free: 1.863 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2468, allocations: 4 kB / 435.5 MB, free: 1.859 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002208/0.247, allocations: 4 kB / 435.5 MB, free: 1.855 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.0005589/0.2475, allocations: 0.7092 MB / 436.2 MB, free: 1.117 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001428/0.2477, allocations: 27.92 kB / 436.3 MB, free: 1.09 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2477, allocations: 0 / 436.3 MB, free: 1.09 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.767e-05/0.2477, allocations: 8.25 kB / 436.3 MB, free: 1.082 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003531/0.2481, allocations: 26.59 kB / 436.3 MB, free: 1.059 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001497/0.2496, allocations: 1.329 MB / 437.6 MB, free: 15.63 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.558e-05/0.2497, allocations: 75.27 kB / 437.7 MB, free: 15.54 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.334e-05/0.2497, allocations: 4 kB / 437.7 MB, free: 15.53 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.424e-05/0.2497, allocations: 11.44 kB / 437.7 MB, free: 15.52 MB / 350.1 MB Notification: Performance of SimCode: time 1.112e-06/0.2497, allocations: 4 kB / 437.7 MB, free: 15.52 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0361/0.2858, allocations: 1.995 MB / 439.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.59/10.87, allocations: 6.5 kB / 439.7 MB, free: 13.65 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.190120480023324]