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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001133/0.001133, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0007933/0.0007933, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8666/0.8666, allocations: 177 MB / 204.1 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.655e-05/1.841e-05, allocations: 2.844 kB / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.002089/0.002107, allocations: 1.529 MB / 326 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002894/0.002396, allocations: 143.5 kB / 326.2 MB, free: 14.2 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.715e-05/0.002464, allocations: 4 kB / 326.2 MB, free: 14.19 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.68e-05/0.0025, allocations: 7.875 kB / 326.2 MB, free: 14.18 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001087/0.002609, allocations: 7.875 kB / 326.2 MB, free: 14.18 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001918/0.002801, allocations: 35.89 kB / 326.2 MB, free: 14.14 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.989e-05/0.002881, allocations: 35.86 kB / 326.3 MB, free: 14.11 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.384e-05/0.002965, allocations: 15.94 kB / 326.3 MB, free: 14.09 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.246e-05/0.003007, allocations: 19.97 kB / 326.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.448e-05/0.003042, allocations: 11.92 kB / 326.3 MB, free: 14.06 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.994e-05/0.003062, allocations: 4 kB / 326.3 MB, free: 14.05 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.975e-06/0.00307, allocations: 0 / 326.3 MB, free: 14.05 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.18e-05/0.003111, allocations: 19.86 kB / 326.3 MB, free: 14.04 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.11e-05/0.003132, allocations: 8 kB / 326.3 MB, free: 14.03 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.673e-05/0.003219, allocations: 39.88 kB / 326.4 MB, free: 13.99 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.584e-06/0.003222, allocations: 4 kB / 326.4 MB, free: 13.98 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.003223, allocations: 0 / 326.4 MB, free: 13.98 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.003226, allocations: 4 kB / 326.4 MB, free: 13.98 MB / 298.7 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.0003772/0.003603, allocations: 294 kB / 326.7 MB, free: 13.66 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.003645, allocations: 11.98 kB / 326.7 MB, free: 13.65 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.918e-05/0.003674, allocations: 38.73 kB / 326.7 MB, free: 13.6 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.094e-05/0.003695, allocations: 8.891 kB / 326.7 MB, free: 13.59 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001652/0.00386, allocations: 144.7 kB / 326.9 MB, free: 13.43 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.746e-06/0.003869, allocations: 8.312 kB / 326.9 MB, free: 13.42 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.653e-06/0.003875, allocations: 384 / 326.9 MB, free: 13.42 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002091/0.004085, allocations: 117.6 kB / 327 MB, free: 13.29 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.142e-06/0.004091, allocations: 192 / 327 MB, free: 13.29 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.903e-06/0.004098, allocations: 384 / 327 MB, free: 13.29 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.004103, allocations: 4.125 kB / 327 MB, free: 13.29 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.937e-05/0.004142, allocations: 19.98 kB / 327 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000212/0.004354, allocations: 224.8 kB / 327.2 MB, free: 13 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/0.004478, allocations: 57.2 kB / 327.3 MB, free: 12.93 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.713e-05/0.004515, allocations: 37.7 kB / 327.3 MB, free: 12.88 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.00453, allocations: 0 / 327.3 MB, free: 12.88 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.555e-05/0.004546, allocations: 34.5 kB / 327.4 MB, free: 12.84 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 6.21e-07/0.004546, allocations: 0 / 327.4 MB, free: 12.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001612/0.004707, allocations: 81.55 kB / 327.5 MB, free: 12.75 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.004747, allocations: 85.11 kB / 327.5 MB, free: 12.65 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.872e-05/0.004826, allocations: 130.1 kB / 327.7 MB, free: 12.51 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.105e-06/0.004834, allocations: 25.7 kB / 327.7 MB, free: 12.48 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.566e-05/0.00487, allocations: 96.2 kB / 327.8 MB, free: 12.38 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.536e-06/0.004878, allocations: 3.953 kB / 327.8 MB, free: 12.38 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.459e-05/0.004903, allocations: 17.7 kB / 327.8 MB, free: 12.36 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.861e-05/0.004972, allocations: 314.8 kB / 328.1 MB, free: 12.04 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.619e-05/0.004988, allocations: 4 kB / 328.1 MB, free: 12.04 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.316e-05/0.005001, allocations: 7.984 kB / 328.1 MB, free: 12.03 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.171e-05/0.005033, allocations: 20.78 kB / 328.1 MB, free: 12 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.005034, allocations: 0 / 328.1 MB, free: 12 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001864/0.005221, allocations: 61.62 kB / 328.2 MB, free: 11.94 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.005232, allocations: 8 kB / 328.2 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.005236, allocations: 0 / 328.2 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.005247, allocations: 0 / 328.2 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.068e-05/0.005277, allocations: 4 kB / 328.2 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.005282, allocations: 3.984 kB / 328.2 MB, free: 11.92 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.229e-05/0.005295, allocations: 0 / 328.2 MB, free: 11.92 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.0053, allocations: 3.984 kB / 328.2 MB, free: 11.92 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 5.669e-05/0.005357, allocations: 117.8 kB / 328.3 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.904e-05/0.005396, allocations: 57.55 kB / 328.4 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.418e-05/0.00542, allocations: 12.34 kB / 328.4 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.005421, allocations: 0 / 328.4 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.005424, allocations: 4 kB / 328.4 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.005427, allocations: 0 / 328.4 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001049/0.005532, allocations: 136.9 kB / 328.5 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.005533, allocations: 0 / 328.5 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.361e-05/0.005556, allocations: 8 kB / 328.6 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.005559, allocations: 3.938 kB / 328.6 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/0.005568, allocations: 11.98 kB / 328.6 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.005568, allocations: 0 / 328.6 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.005569, allocations: 4 kB / 328.6 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.093e-05/0.00566, allocations: 164.3 kB / 328.7 MB, free: 11.33 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.619e-05/0.005686, allocations: 19.88 kB / 328.8 MB, free: 11.31 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.879e-06/0.005696, allocations: 4 kB / 328.8 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.895e-05/0.005725, allocations: 0 / 328.8 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.303e-05/0.005748, allocations: 0 / 328.8 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-06/0.005751, allocations: 4 kB / 328.8 MB, free: 11.3 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.038e-05/0.005791, allocations: 109.9 kB / 328.9 MB, free: 11.2 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005791, allocations: 0 / 328.9 MB, free: 11.2 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001369/0.005928, allocations: 4 kB / 328.9 MB, free: 11.19 MB / 298.7 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.000244/0.006172, allocations: 0.6976 MB / 329.6 MB, free: 10.46 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.649e-05/0.006248, allocations: 27.92 kB / 329.6 MB, free: 10.44 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.00625, allocations: 0 / 329.6 MB, free: 10.44 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.598e-05/0.006266, allocations: 7.984 kB / 329.6 MB, free: 10.43 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000226/0.006492, allocations: 23.95 kB / 329.6 MB, free: 10.41 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007066/0.007198, allocations: 1.262 MB / 330.9 MB, free: 9.055 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.953e-05/0.007248, allocations: 75.58 kB / 331 MB, free: 8.961 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.626e-05/0.007264, allocations: 4 kB / 331 MB, free: 8.957 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.141e-05/0.007295, allocations: 12.5 kB / 331 MB, free: 8.945 MB / 298.7 MB Notification: Performance of SimCode: time 3.61e-07/0.007296, allocations: 0 / 331 MB, free: 8.945 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01329/0.02059, allocations: 2.111 MB / 333.1 MB, free: 6.934 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.577/6.598, allocations: 3.984 kB / 333.1 MB, free: 6.93 MB / 298.7 MB " [Timeout remaining time 653] (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 --stepSize=3.99122e-05 --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) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Sample1/Sample1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,assignClock.y,sample1.y Variables in the result:assignClock.u,assignClock.y,periodicClock.factor,periodicClock.resolution,periodicClock.useSolver,sample1.u,sample1.y,step.height,step.offset,step.startTime,step.y,time [Calling sys.exit(0), Time elapsed: 8.227283875457942]