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.001387/0.001387, allocations: 111.8 kB / 20.43 MB, free: 1.309 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.001507/0.001507, allocations: 214.3 kB / 23.75 MB, free: 4.535 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.444/1.444, allocations: 230.6 MB / 257.5 MB, free: 7.984 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.00158/0.00158, allocations: 51.92 kB / 377.8 MB, free: 3.129 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2318/0.2334, allocations: 53.35 MB / 431.1 MB, free: 6.852 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.002995/0.2363, allocations: 1.538 MB / 432.7 MB, free: 5.309 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004097/0.2368, allocations: 139.5 kB / 432.8 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.589e-05/0.2368, allocations: 3.938 kB / 432.8 MB, free: 5.168 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.369e-05/0.2369, allocations: 7.938 kB / 432.8 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001208/0.237, allocations: 11.92 kB / 432.8 MB, free: 5.148 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002677/0.2373, allocations: 39.91 kB / 432.9 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.783e-05/0.2374, allocations: 31.86 kB / 432.9 MB, free: 5.078 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.284e-05/0.2375, allocations: 11.98 kB / 432.9 MB, free: 5.066 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.673e-05/0.2375, allocations: 15.94 kB / 432.9 MB, free: 5.051 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.698e-05/0.2376, allocations: 19.91 kB / 432.9 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.017e-05/0.2376, allocations: 4 kB / 433 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.718e-06/0.2376, allocations: 0 / 433 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.651e-05/0.2376, allocations: 19.92 kB / 433 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.555e-05/0.2377, allocations: 19.81 kB / 433 MB, free: 4.988 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001445/0.2378, allocations: 48.11 kB / 433 MB, free: 4.945 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.2378, allocations: 4 kB / 433 MB, free: 4.941 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.2378, allocations: 0 / 433 MB, free: 4.941 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.253e-05/0.2378, allocations: 0 / 433 MB, free: 4.941 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.0005032/0.2384, allocations: 302.1 kB / 433.3 MB, free: 4.613 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.2384, allocations: 8.031 kB / 433.3 MB, free: 4.605 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.087e-05/0.2384, allocations: 34.75 kB / 433.4 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.875e-05/0.2385, allocations: 8.875 kB / 433.4 MB, free: 4.555 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002618/0.2387, allocations: 134.4 kB / 433.5 MB, free: 4.398 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.2387, allocations: 4.375 kB / 433.5 MB, free: 4.395 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.416e-05/0.2388, allocations: 4.375 kB / 433.5 MB, free: 4.391 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003102/0.2391, allocations: 117.5 kB / 433.6 MB, free: 4.258 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.2391, allocations: 7.938 kB / 433.6 MB, free: 4.25 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.825e-06/0.2391, allocations: 0 / 433.6 MB, free: 4.25 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.2391, allocations: 0 / 433.6 MB, free: 4.25 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.902e-05/0.2392, allocations: 19.98 kB / 433.7 MB, free: 4.23 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003469/0.2395, allocations: 236.8 kB / 433.9 MB, free: 3.953 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001902/0.2397, allocations: 65.12 kB / 434 MB, free: 3.871 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.591e-05/0.2398, allocations: 25.77 kB / 434 MB, free: 3.84 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.2398, allocations: 4 kB / 434 MB, free: 3.836 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/0.2398, allocations: 38.5 kB / 434 MB, free: 3.789 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.2398, allocations: 0 / 434 MB, free: 3.789 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002567/0.2401, allocations: 77.5 kB / 434.1 MB, free: 3.707 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.45e-05/0.2402, allocations: 85.11 kB / 434.2 MB, free: 3.605 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.2403, allocations: 136.6 kB / 434.3 MB, free: 3.461 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.2403, allocations: 25.7 kB / 434.3 MB, free: 3.43 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.108e-05/0.2404, allocations: 92.12 kB / 434.4 MB, free: 3.336 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.858e-06/0.2404, allocations: 3.953 kB / 434.4 MB, free: 3.332 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.216e-05/0.2404, allocations: 17.72 kB / 434.5 MB, free: 3.309 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.2406, allocations: 318.8 kB / 434.8 MB, free: 2.988 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.899e-05/0.2406, allocations: 4 kB / 434.8 MB, free: 2.984 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.372e-05/0.2407, allocations: 39.42 kB / 434.8 MB, free: 2.934 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.757e-05/0.2407, allocations: 43.36 kB / 434.9 MB, free: 2.879 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.2408, allocations: 3.938 kB / 434.9 MB, free: 2.875 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001472/0.2409, allocations: 73.56 kB / 434.9 MB, free: 2.797 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.063e-05/0.2409, allocations: 4 kB / 434.9 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.2409, allocations: 3.984 kB / 434.9 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.241, allocations: 4 kB / 434.9 MB, free: 2.785 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.051e-05/0.241, allocations: 11.92 kB / 435 MB, free: 2.773 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.241, allocations: 4 kB / 435 MB, free: 2.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.281e-05/0.2411, allocations: 3.953 kB / 435 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.2411, allocations: 4 kB / 435 MB, free: 2.762 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.705e-05/0.2412, allocations: 125.9 kB / 435.1 MB, free: 2.629 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/0.2413, allocations: 45.64 kB / 435.1 MB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.133e-05/0.2413, allocations: 16.33 kB / 435.1 MB, free: 2.555 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.2413, allocations: 0 / 435.1 MB, free: 2.555 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.2413, allocations: 0 / 435.1 MB, free: 2.555 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.2413, allocations: 4 kB / 435.2 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001751/0.2415, allocations: 140.6 kB / 435.3 MB, free: 2.371 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2415, allocations: 0 / 435.3 MB, free: 2.371 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.037e-05/0.2415, allocations: 12 kB / 435.3 MB, free: 2.359 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.2416, allocations: 8 kB / 435.3 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.191e-06/0.2416, allocations: 0 / 435.3 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.522e-06/0.2416, allocations: 4 kB / 435.3 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.2416, allocations: 3.984 kB / 435.3 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001769/0.2417, allocations: 160.3 kB / 435.5 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.916e-05/0.2418, allocations: 19.94 kB / 435.5 MB, free: 2.148 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.2418, allocations: 0 / 435.5 MB, free: 2.148 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.901e-05/0.2419, allocations: 8.375 kB / 435.5 MB, free: 2.141 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.942e-05/0.2419, allocations: 3.984 kB / 435.5 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-06/0.2419, allocations: 0 / 435.5 MB, free: 2.137 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.875e-05/0.242, allocations: 107.2 kB / 435.6 MB, free: 2.031 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.242, allocations: 0 / 435.6 MB, free: 2.031 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000226/0.2422, allocations: 4 kB / 435.6 MB, free: 2.027 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.0006831/0.2429, allocations: 0.7093 MB / 436.3 MB, free: 1.289 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001455/0.243, allocations: 31.91 kB / 436.4 MB, free: 1.258 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.243, allocations: 0 / 436.4 MB, free: 1.258 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.507e-05/0.2431, allocations: 7.938 kB / 436.4 MB, free: 1.25 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003321/0.2434, allocations: 27.14 kB / 436.4 MB, free: 1.227 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001382/0.2448, allocations: 1.329 MB / 437.7 MB, free: 15.8 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003421/0.2451, allocations: 0.6885 MB / 438.4 MB, free: 15.08 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.664e-05/0.2452, allocations: 3.984 kB / 438.4 MB, free: 15.08 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.065e-05/0.2452, allocations: 19.38 kB / 438.4 MB, free: 15.06 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.2452, allocations: 0 / 438.4 MB, free: 15.06 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02714/0.2723, allocations: 1.588 MB / 440 MB, free: 13.6 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.1, allocations: 5.859 kB / 440 MB, free: 13.6 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.533221920952201]