Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001806/0.001806, allocations: 73.95 kB / 21.24 MB, free: 0.5547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002003/0.002003, allocations: 152.3 kB / 24.49 MB, free: 3.723 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 173.4 MB / 201.1 MB, free: 12.68 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002242/0.002242, allocations: 47.48 kB / 319.4 MB, free: 3.473 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09299/0.09523, allocations: 52.16 MB / 371.6 MB, free: 7.488 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.002977/0.09821, allocations: 1.532 MB / 373.1 MB, free: 5.949 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003963/0.0986, allocations: 135.6 kB / 373.2 MB, free: 5.816 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.969e-05/0.09867, allocations: 4 kB / 373.2 MB, free: 5.812 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.157e-05/0.09871, allocations: 3.938 kB / 373.2 MB, free: 5.809 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001183/0.09883, allocations: 11.94 kB / 373.3 MB, free: 5.797 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002224/0.09905, allocations: 35.83 kB / 373.3 MB, free: 5.762 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001024/0.09916, allocations: 35.86 kB / 373.3 MB, free: 5.727 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.389e-05/0.09925, allocations: 11.98 kB / 373.3 MB, free: 5.715 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.306e-05/0.09929, allocations: 15.92 kB / 373.3 MB, free: 5.699 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.156e-05/0.09934, allocations: 15.92 kB / 373.4 MB, free: 5.684 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.103e-05/0.09936, allocations: 4 kB / 373.4 MB, free: 5.68 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.317e-06/0.09937, allocations: 0 / 373.4 MB, free: 5.68 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.797e-05/0.09941, allocations: 15.94 kB / 373.4 MB, free: 5.664 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.794e-05/0.09944, allocations: 11.88 kB / 373.4 MB, free: 5.652 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001083/0.09955, allocations: 51.73 kB / 373.4 MB, free: 5.602 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.09956, allocations: 4 kB / 373.4 MB, free: 5.598 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.09956, allocations: 0 / 373.4 MB, free: 5.598 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.09956, allocations: 0 / 373.4 MB, free: 5.598 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.0004398/0.1, allocations: 298 kB / 373.7 MB, free: 5.273 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.1, allocations: 8.922 kB / 373.7 MB, free: 5.266 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.253e-05/0.1001, allocations: 12.83 kB / 373.8 MB, free: 5.254 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002107/0.1003, allocations: 134.4 kB / 373.9 MB, free: 5.098 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.1003, allocations: 4.375 kB / 373.9 MB, free: 5.094 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.354e-05/0.1003, allocations: 4.375 kB / 373.9 MB, free: 5.09 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002746/0.1006, allocations: 113.6 kB / 374 MB, free: 4.961 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.1006, allocations: 4.188 kB / 374 MB, free: 4.957 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.248e-06/0.1006, allocations: 3.938 kB / 374 MB, free: 4.953 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.1006, allocations: 0 / 374 MB, free: 4.953 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.771e-05/0.1007, allocations: 27.92 kB / 374 MB, free: 4.926 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002693/0.101, allocations: 209.4 kB / 374.3 MB, free: 4.688 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001821/0.1011, allocations: 61.14 kB / 374.3 MB, free: 4.609 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.493e-05/0.1012, allocations: 25.77 kB / 374.3 MB, free: 4.578 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.1012, allocations: 3.938 kB / 374.3 MB, free: 4.574 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.1012, allocations: 34.56 kB / 374.4 MB, free: 4.531 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.1012, allocations: 0 / 374.4 MB, free: 4.531 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002331/0.1015, allocations: 89.48 kB / 374.5 MB, free: 4.438 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.581e-05/0.1015, allocations: 77.11 kB / 374.5 MB, free: 4.344 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.1017, allocations: 134.1 kB / 374.7 MB, free: 4.199 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.1017, allocations: 29.7 kB / 374.7 MB, free: 4.164 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.72e-05/0.1017, allocations: 80.14 kB / 374.8 MB, free: 4.082 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.022e-05/0.1017, allocations: 8 kB / 374.8 MB, free: 4.074 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.889e-05/0.1018, allocations: 25.66 kB / 374.8 MB, free: 4.043 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.1019, allocations: 310.8 kB / 375.1 MB, free: 3.73 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.163e-05/0.102, allocations: 15.92 kB / 375.1 MB, free: 3.715 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.291e-05/0.102, allocations: 35.44 kB / 375.2 MB, free: 3.668 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.624e-05/0.1021, allocations: 47.48 kB / 375.2 MB, free: 3.609 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1021, allocations: 0 / 375.2 MB, free: 3.609 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001332/0.1022, allocations: 69.55 kB / 375.3 MB, free: 3.535 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.1023, allocations: 4 kB / 375.3 MB, free: 3.531 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.1023, allocations: 4.125 kB / 375.3 MB, free: 3.527 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.1023, allocations: 8.219 kB / 375.3 MB, free: 3.52 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.463e-05/0.1023, allocations: 7.984 kB / 375.3 MB, free: 3.512 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.1023, allocations: 4 kB / 375.3 MB, free: 3.508 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.479e-05/0.1024, allocations: 8 kB / 375.3 MB, free: 3.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.1024, allocations: 0 / 375.3 MB, free: 3.5 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.562e-05/0.1025, allocations: 125.7 kB / 375.4 MB, free: 3.367 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.593e-05/0.1025, allocations: 53.56 kB / 375.5 MB, free: 3.309 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.048e-05/0.1026, allocations: 8.344 kB / 375.5 MB, free: 3.293 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.1026, allocations: 0 / 375.5 MB, free: 3.293 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.1026, allocations: 8 kB / 375.5 MB, free: 3.285 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.1026, allocations: 3.984 kB / 375.5 MB, free: 3.281 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001404/0.1027, allocations: 113.3 kB / 375.6 MB, free: 3.141 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1027, allocations: 0 / 375.6 MB, free: 3.141 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.84e-05/0.1028, allocations: 8 kB / 375.6 MB, free: 3.133 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.1028, allocations: 3.938 kB / 375.6 MB, free: 3.129 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.531e-06/0.1028, allocations: 0 / 375.6 MB, free: 3.129 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.287e-06/0.1028, allocations: 4 kB / 375.6 MB, free: 3.125 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1028, allocations: 0 / 375.6 MB, free: 3.125 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001848/0.103, allocations: 168.3 kB / 375.8 MB, free: 2.941 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.206e-05/0.103, allocations: 23.88 kB / 375.8 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.108e-05/0.103, allocations: 0 / 375.8 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.111e-05/0.1031, allocations: 4 kB / 375.8 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.668e-05/0.1031, allocations: 3.984 kB / 375.8 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.1031, allocations: 4 kB / 375.8 MB, free: 2.906 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.088e-05/0.1032, allocations: 102.4 kB / 375.9 MB, free: 2.809 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1032, allocations: 0 / 375.9 MB, free: 2.809 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002253/0.1034, allocations: 4 kB / 375.9 MB, free: 2.805 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 9.179e-05/0.1035, allocations: 103.2 kB / 376 MB, free: 2.695 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000138/0.1036, allocations: 39.91 kB / 376.1 MB, free: 2.656 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1036, allocations: 0 / 376.1 MB, free: 2.656 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.101e-05/0.1037, allocations: 4 kB / 376.1 MB, free: 2.652 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003091/0.104, allocations: 27.95 kB / 376.1 MB, free: 2.625 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003034/0.1043, allocations: 154.2 kB / 376.3 MB, free: 2.445 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.637e-05/0.1044, allocations: 75.33 kB / 376.3 MB, free: 2.352 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.597e-05/0.1044, allocations: 8.312 kB / 376.3 MB, free: 2.344 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.205e-05/0.1044, allocations: 8.5 kB / 376.3 MB, free: 2.336 MB / 334.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1044, allocations: 3.938 kB / 376.4 MB, free: 2.332 MB / 334.1 MB Notification: Performance of Templates: time 0.002889/0.1073, allocations: 0.537 MB / 376.9 MB, free: 1.805 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 4.304660047986545]