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.0008509/0.0008509, allocations: 76.36 kB / 20.67 MB, free: 3.895 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.0009549/0.0009549, 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.9246/0.9246, allocations: 177 MB / 204.1 MB, free: 5.75 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.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 1.674e-06/1.674e-06, allocations: 0 / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.618e-05/1.786e-05, allocations: 3.266 kB / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.002555/0.002573, allocations: 1.877 MB / 326.4 MB, free: 14.01 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001537/0.004109, allocations: 1.238 MB / 327.6 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001129/0.004222, allocations: 0 / 327.6 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003247/0.004547, allocations: 67.61 kB / 327.7 MB, free: 12.7 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003207/0.004868, allocations: 147.3 kB / 327.8 MB, free: 12.55 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004966/0.005364, allocations: 234.2 kB / 328.1 MB, free: 12.33 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001865/0.005551, allocations: 183.5 kB / 328.2 MB, free: 12.15 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.611e-05/0.005647, allocations: 25.78 kB / 328.3 MB, free: 12.12 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.005752, allocations: 99.72 kB / 328.4 MB, free: 12.02 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.904e-05/0.005841, allocations: 71.8 kB / 328.4 MB, free: 11.95 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.988e-05/0.005861, allocations: 8 kB / 328.4 MB, free: 11.95 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001266/0.005987, allocations: 75.81 kB / 328.5 MB, free: 11.87 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.793e-05/0.006055, allocations: 55.77 kB / 328.6 MB, free: 11.82 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.754e-05/0.006103, allocations: 39.86 kB / 328.6 MB, free: 11.78 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000255/0.006358, allocations: 243.2 kB / 328.9 MB, free: 11.54 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.00636, allocations: 4 kB / 328.9 MB, free: 11.54 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.006362, allocations: 4 kB / 328.9 MB, free: 11.53 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.006367, allocations: 0 / 328.9 MB, free: 11.53 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005093/0.006876, allocations: 470.5 kB / 329.3 MB, free: 11.04 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.006917, allocations: 15.98 kB / 329.3 MB, free: 11.02 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.724e-05/0.006944, allocations: 38.73 kB / 329.4 MB, free: 10.97 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.922e-05/0.006983, allocations: 24.8 kB / 329.4 MB, free: 10.95 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002555/0.007239, allocations: 232.8 kB / 329.6 MB, free: 10.7 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.007253, allocations: 4.375 kB / 329.6 MB, free: 10.7 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.396e-05/0.007267, allocations: 8.375 kB / 329.6 MB, free: 10.69 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000271/0.007538, allocations: 177 kB / 329.8 MB, free: 10.48 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.007547, allocations: 4.125 kB / 329.8 MB, free: 10.48 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.007558, allocations: 4.125 kB / 329.8 MB, free: 10.48 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.007563, allocations: 0 / 329.8 MB, free: 10.48 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.706e-05/0.00764, allocations: 43.97 kB / 329.9 MB, free: 10.43 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004223/0.008062, allocations: 345.5 kB / 330.2 MB, free: 10.05 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001681/0.00823, allocations: 123.8 kB / 330.3 MB, free: 9.898 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.327e-05/0.008283, allocations: 42.56 kB / 330.4 MB, free: 9.848 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/0.008302, allocations: 4 kB / 330.4 MB, free: 9.844 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001375/0.00844, allocations: 83.31 kB / 330.4 MB, free: 9.75 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.593e-06/0.008441, allocations: 0 / 330.4 MB, free: 9.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002792/0.008721, allocations: 161.6 kB / 330.6 MB, free: 9.586 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.502e-05/0.008786, allocations: 128.5 kB / 330.7 MB, free: 9.43 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002474/0.009033, allocations: 337.9 kB / 331.1 MB, free: 9.09 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.009049, allocations: 33.62 kB / 331.1 MB, free: 9.051 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.418e-05/0.009123, allocations: 136 kB / 331.2 MB, free: 8.914 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.974e-05/0.009143, allocations: 15.97 kB / 331.2 MB, free: 8.898 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.744e-05/0.00918, allocations: 29.7 kB / 331.3 MB, free: 8.863 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.725e-05/0.009257, allocations: 330.8 kB / 331.6 MB, free: 8.531 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.823e-05/0.009296, allocations: 23.94 kB / 331.6 MB, free: 8.508 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.751e-05/0.009363, allocations: 114.8 kB / 331.7 MB, free: 8.371 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.095e-05/0.009444, allocations: 65.73 kB / 331.8 MB, free: 8.301 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.009446, allocations: 0 / 331.8 MB, free: 8.301 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001269/0.009573, allocations: 109.5 kB / 331.9 MB, free: 8.188 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.009586, allocations: 4 kB / 331.9 MB, free: 8.184 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.009592, allocations: 0 / 331.9 MB, free: 8.184 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.009602, allocations: 0 / 331.9 MB, free: 8.184 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.165e-05/0.009664, allocations: 19.98 kB / 331.9 MB, free: 8.164 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.009668, allocations: 160 / 331.9 MB, free: 8.164 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.707e-05/0.009705, allocations: 7.938 kB / 331.9 MB, free: 8.156 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.009714, allocations: 16.31 kB / 331.9 MB, free: 8.141 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.453e-05/0.009808, allocations: 153.7 kB / 332.1 MB, free: 7.98 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.048e-05/0.009859, allocations: 65.55 kB / 332.2 MB, free: 7.91 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001593/0.01002, allocations: 127.4 kB / 332.3 MB, free: 7.785 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.01002, allocations: 0 / 332.3 MB, free: 7.785 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.01002, allocations: 0 / 332.3 MB, free: 7.785 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.01003, allocations: 3.984 kB / 332.3 MB, free: 7.781 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001302/0.01016, allocations: 212.6 kB / 332.5 MB, free: 7.531 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.01016, allocations: 4.062 kB / 332.5 MB, free: 7.527 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.599e-05/0.0102, allocations: 12 kB / 332.5 MB, free: 7.516 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.0102, allocations: 0 / 332.5 MB, free: 7.516 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.128e-06/0.01021, allocations: 11.97 kB / 332.5 MB, free: 7.504 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.01021, allocations: 0 / 332.5 MB, free: 7.504 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.01021, allocations: 0 / 332.5 MB, free: 7.504 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001535/0.01036, allocations: 170.5 kB / 332.7 MB, free: 7.312 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.36e-05/0.01042, allocations: 39.84 kB / 332.7 MB, free: 7.273 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.799e-05/0.01043, allocations: 0 / 332.7 MB, free: 7.273 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.282e-05/0.01047, allocations: 11.98 kB / 332.7 MB, free: 7.262 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.566e-05/0.01051, allocations: 11.98 kB / 332.8 MB, free: 7.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.31e-05/0.01053, allocations: 7.938 kB / 332.8 MB, free: 7.242 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001594/0.01069, allocations: 249.3 kB / 333 MB, free: 7 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01069, allocations: 7.875 kB / 333 MB, free: 6.992 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001825/0.01087, allocations: 35.92 kB / 333 MB, free: 6.957 MB / 298.7 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.0009915/0.01186, allocations: 1.039 MB / 334.1 MB, free: 6.031 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001483/0.01201, allocations: 67.91 kB / 334.2 MB, free: 5.965 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01201, allocations: 4.062 kB / 334.2 MB, free: 5.961 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.542e-05/0.01205, allocations: 27.98 kB / 334.2 MB, free: 5.934 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000255/0.01231, allocations: 72.16 kB / 334.3 MB, free: 5.867 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001617/0.01393, allocations: 2.179 MB / 336.4 MB, free: 3.574 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.411e-05/0.01401, allocations: 136.1 kB / 336.6 MB, free: 3.422 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.448e-05/0.01407, allocations: 25.62 kB / 336.6 MB, free: 3.398 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.064e-05/0.01414, allocations: 68.41 kB / 336.7 MB, free: 3.332 MB / 298.7 MB Notification: Performance of SimCode: time 3.81e-07/0.01414, allocations: 0 / 336.7 MB, free: 3.332 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01779/0.03192, allocations: 6.158 MB / 342.8 MB, free: 13.2 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.908/6.94, allocations: 8.047 kB / 342.8 MB, free: 13.2 MB / 314.7 MB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.95804e-05 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.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable sample1.y in file Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.csv. Warning: Get data of variable sample1.y from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.csv failed! Error: Could not read variable superSample1.y in file Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.csv. Warning: Get data of variable superSample1.y from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.77822336833924]