Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.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.00145/0.00145, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001473/0.001473, allocations: 213.2 kB / 23.73 MB, free: 4.164 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.512/1.512, allocations: 230.5 MB / 257.4 MB, free: 7.797 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.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001884/0.001884, allocations: 67.89 kB / 377.7 MB, free: 2.828 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2741/0.276, allocations: 53.42 MB / 431.1 MB, free: 6.453 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.003425/0.2794, allocations: 1.871 MB / 433 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002214/0.2816, allocations: 1.235 MB / 434.2 MB, free: 3.332 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000127/0.2818, allocations: 7.938 kB / 434.3 MB, free: 3.324 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000319/0.2821, allocations: 63.67 kB / 434.3 MB, free: 3.262 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003874/0.2825, allocations: 135.4 kB / 434.4 MB, free: 3.129 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006643/0.2831, allocations: 230.3 kB / 434.7 MB, free: 2.906 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002666/0.2834, allocations: 183.5 kB / 434.8 MB, free: 2.727 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.2835, allocations: 21.73 kB / 434.9 MB, free: 2.703 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001217/0.2836, allocations: 83.62 kB / 435 MB, free: 2.621 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001453/0.2838, allocations: 83.61 kB / 435 MB, free: 2.539 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.75e-05/0.2838, allocations: 8 kB / 435 MB, free: 2.531 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001677/0.284, allocations: 79.88 kB / 435.1 MB, free: 2.453 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.953e-05/0.2841, allocations: 47.84 kB / 435.2 MB, free: 2.406 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.342e-05/0.2842, allocations: 59.59 kB / 435.2 MB, free: 2.348 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003758/0.2845, allocations: 244.6 kB / 435.5 MB, free: 2.109 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.2845, allocations: 0 / 435.5 MB, free: 2.109 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.2845, allocations: 0 / 435.5 MB, free: 2.109 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.091e-05/0.2846, allocations: 0 / 435.5 MB, free: 2.109 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007992/0.2854, allocations: 482.5 kB / 435.9 MB, free: 1.602 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.2854, allocations: 11.98 kB / 435.9 MB, free: 1.59 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.288e-05/0.2854, allocations: 38.75 kB / 436 MB, free: 1.543 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.318e-05/0.2855, allocations: 24.8 kB / 436 MB, free: 1.52 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004349/0.2859, allocations: 233.5 kB / 436.2 MB, free: 1.266 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/0.2859, allocations: 8.375 kB / 436.2 MB, free: 1.258 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.883e-05/0.286, allocations: 4.375 kB / 436.2 MB, free: 1.254 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003742/0.2863, allocations: 184.5 kB / 436.4 MB, free: 1.043 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.2863, allocations: 0 / 436.4 MB, free: 1.043 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.2864, allocations: 8 kB / 436.4 MB, free: 1.035 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.2864, allocations: 7.938 kB / 436.4 MB, free: 1.027 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001112/0.2865, allocations: 31.92 kB / 436.5 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005306/0.287, allocations: 345.5 kB / 436.8 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002657/0.2873, allocations: 119.8 kB / 436.9 MB, free: 476 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.602e-05/0.2874, allocations: 46.55 kB / 437 MB, free: 420 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.254e-05/0.2874, allocations: 0 / 437 MB, free: 420 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001892/0.2876, allocations: 79.39 kB / 437.1 MB, free: 328 kB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.202e-06/0.2876, allocations: 0 / 437.1 MB, free: 328 kB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003994/0.288, allocations: 165.4 kB / 437.2 MB, free: 156 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.2881, allocations: 136.5 kB / 437.3 MB, free: 15.99 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004128/0.2885, allocations: 337.8 kB / 437.7 MB, free: 15.65 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.2885, allocations: 25.7 kB / 437.7 MB, free: 15.62 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.2886, allocations: 136.1 kB / 437.8 MB, free: 15.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.826e-05/0.2887, allocations: 19.89 kB / 437.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.306e-05/0.2887, allocations: 29.95 kB / 437.9 MB, free: 15.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.2889, allocations: 342.8 kB / 438.2 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.331e-05/0.2889, allocations: 23.98 kB / 438.2 MB, free: 15.06 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001415/0.2891, allocations: 137.3 kB / 438.4 MB, free: 14.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/0.2893, allocations: 84.22 kB / 438.5 MB, free: 14.8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.2893, allocations: 0 / 438.5 MB, free: 14.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002457/0.2895, allocations: 133.5 kB / 438.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.2895, allocations: 6.812 kB / 438.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.351e-06/0.2895, allocations: 3.938 kB / 438.6 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.2895, allocations: 4 kB / 438.6 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.2896, allocations: 23.92 kB / 438.6 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.2897, allocations: 3.938 kB / 438.6 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.962e-05/0.2897, allocations: 4 kB / 438.6 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/0.2897, allocations: 8 kB / 438.6 MB, free: 14.61 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,superSample1.y,superSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 0.0001496/0.2899, allocations: 158.6 kB / 438.8 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.402e-05/0.29, allocations: 73.45 kB / 438.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002813/0.2903, allocations: 127.3 kB / 439 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.2903, allocations: 4 kB / 439 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.2903, allocations: 0 / 439 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.2903, allocations: 3.984 kB / 439 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002156/0.2905, allocations: 204.6 kB / 439.2 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2905, allocations: 0 / 439.2 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.6e-05/0.2906, allocations: 12.31 kB / 439.2 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.2906, allocations: 4 kB / 439.2 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.2906, allocations: 8.062 kB / 439.2 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/0.2906, allocations: 7.984 kB / 439.2 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2906, allocations: 0 / 439.2 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002834/0.2909, allocations: 178.5 kB / 439.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.947e-05/0.291, allocations: 31.84 kB / 439.4 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.4e-05/0.291, allocations: 8 kB / 439.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.945e-05/0.2911, allocations: 7.984 kB / 439.5 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.175e-05/0.2911, allocations: 11.98 kB / 439.5 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.644e-05/0.2911, allocations: 4 kB / 439.5 MB, free: 13.69 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002627/0.2914, allocations: 241.2 kB / 439.7 MB, free: 13.46 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2914, allocations: 4 kB / 439.7 MB, free: 13.45 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002644/0.2917, allocations: 43.86 kB / 439.8 MB, free: 13.41 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002097/0.2937, allocations: 1.057 MB / 440.8 MB, free: 12.47 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002292/0.294, allocations: 71.91 kB / 440.9 MB, free: 12.4 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.167e-06/0.294, allocations: 4 kB / 440.9 MB, free: 12.4 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.841e-05/0.2941, allocations: 32.17 kB / 440.9 MB, free: 12.37 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003855/0.2945, allocations: 61 kB / 441 MB, free: 12.31 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002586/0.297, allocations: 2.235 MB / 443.2 MB, free: 9.953 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001358/0.2972, allocations: 132.1 kB / 443.3 MB, free: 9.801 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.827e-05/0.2973, allocations: 29.61 kB / 443.4 MB, free: 9.773 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/0.2974, allocations: 59.42 kB / 443.4 MB, free: 9.715 MB / 350.1 MB Notification: Performance of SimCode: time 4e-07/0.2974, allocations: 0 / 443.4 MB, free: 9.715 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03459/0.332, allocations: 6.057 MB / 449.5 MB, free: 3.703 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.18, allocations: 11.88 kB / 449.5 MB, free: 3.691 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample_fmu --startTime=0 --stopTime=0.2 --stepSize=3.95804e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.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.7206867961213]