Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.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.001389/0.001389, allocations: 73.88 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.001469/0.001469, allocations: 149.5 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.532/1.532, allocations: 173.4 MB / 201.1 MB, free: 12.7 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.RealSignals.UpSample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|upSample1.y|upSample2.y|add.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|upSample1.y|upSample2.y|add.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002276/0.002276, allocations: 47.84 kB / 319.4 MB, free: 3.273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1138, allocations: 52.18 MB / 371.6 MB, free: 7.348 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.004397/0.1182, allocations: 1.729 MB / 373.3 MB, free: 5.605 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001409/0.1196, allocations: 0.4987 MB / 373.8 MB, free: 5.102 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001236/0.1197, allocations: 7.938 kB / 373.8 MB, free: 5.094 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.347e-05/0.1198, allocations: 7.875 kB / 373.8 MB, free: 5.086 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001721/0.12, allocations: 23.78 kB / 373.9 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005121/0.1205, allocations: 95.77 kB / 373.9 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002046/0.1207, allocations: 83.77 kB / 374 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.1208, allocations: 29.17 kB / 374.1 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.1209, allocations: 39.84 kB / 374.1 MB, free: 4.816 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.1211, allocations: 47.72 kB / 374.1 MB, free: 4.77 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.912e-05/0.1211, allocations: 4 kB / 374.1 MB, free: 4.766 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.68e-05/0.1211, allocations: 8 kB / 374.2 MB, free: 4.758 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.512e-05/0.1212, allocations: 27.91 kB / 374.2 MB, free: 4.73 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.305e-05/0.1213, allocations: 35.73 kB / 374.2 MB, free: 4.695 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000232/0.1215, allocations: 111.5 kB / 374.3 MB, free: 4.586 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1215, allocations: 0 / 374.3 MB, free: 4.586 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1215, allocations: 0 / 374.3 MB, free: 4.586 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.152e-05/0.1215, allocations: 0 / 374.3 MB, free: 4.586 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007366/0.1222, allocations: 365.6 kB / 374.7 MB, free: 4.199 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.1223, allocations: 8.031 kB / 374.7 MB, free: 4.191 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.263e-05/0.1224, allocations: 16.84 kB / 374.7 MB, free: 4.176 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003614/0.1227, allocations: 158.3 kB / 374.9 MB, free: 3.996 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.529e-05/0.1227, allocations: 8.375 kB / 374.9 MB, free: 3.988 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.635e-05/0.1228, allocations: 12.31 kB / 374.9 MB, free: 3.977 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007282/0.1235, allocations: 276.8 kB / 375.2 MB, free: 3.688 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.1235, allocations: 0 / 375.2 MB, free: 3.688 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.1235, allocations: 0 / 375.2 MB, free: 3.688 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.1235, allocations: 4 kB / 375.2 MB, free: 3.684 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002002/0.1237, allocations: 51.97 kB / 375.2 MB, free: 3.633 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004347/0.1242, allocations: 242.2 kB / 375.4 MB, free: 3.359 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003386/0.1245, allocations: 131.8 kB / 375.6 MB, free: 3.203 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001864/0.1247, allocations: 66.66 kB / 375.6 MB, free: 3.129 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.316e-05/0.1247, allocations: 0 / 375.6 MB, free: 3.129 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.446e-05/0.1248, allocations: 46.48 kB / 375.7 MB, free: 3.074 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.613e-06/0.1248, allocations: 0 / 375.7 MB, free: 3.074 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006552/0.1254, allocations: 185.5 kB / 375.9 MB, free: 2.887 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001374/0.1256, allocations: 118.8 kB / 376 MB, free: 2.746 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001605/0.1257, allocations: 153 kB / 376.1 MB, free: 2.59 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/0.1257, allocations: 29.7 kB / 376.2 MB, free: 2.555 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.071e-05/0.1258, allocations: 92.14 kB / 376.2 MB, free: 2.461 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.78e-05/0.1259, allocations: 19.89 kB / 376.3 MB, free: 2.441 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.87e-05/0.126, allocations: 41.66 kB / 376.3 MB, free: 2.395 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002028/0.1262, allocations: 322.8 kB / 376.6 MB, free: 2.07 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001149/0.1263, allocations: 31.92 kB / 376.7 MB, free: 2.039 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002212/0.1265, allocations: 130.5 kB / 376.8 MB, free: 1.859 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003451/0.1269, allocations: 178.5 kB / 377 MB, free: 1.633 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.1269, allocations: 0 / 377 MB, free: 1.633 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003225/0.1272, allocations: 177.3 kB / 377.1 MB, free: 1.453 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.1272, allocations: 8 kB / 377.1 MB, free: 1.445 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.1272, allocations: 7.984 kB / 377.1 MB, free: 1.438 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.1272, allocations: 4 kB / 377.2 MB, free: 1.434 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001962/0.1274, allocations: 35.92 kB / 377.2 MB, free: 1.398 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/0.1274, allocations: 4 kB / 377.2 MB, free: 1.395 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001492/0.1276, allocations: 8.422 kB / 377.2 MB, free: 1.387 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.068e-05/0.1276, allocations: 23.94 kB / 377.2 MB, free: 1.363 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 8 ($CLKPRE.upSample2.b_super,upSample2.b_super,$CLKPRE.upSample1.b_super,upSample1.b_super,$CLKPRE.upSample2.b,upSample2.b,$CLKPRE.upSample1.b,upSample1.b) * Number of discrete states: 0 () * Number of clocked states: 4 (upSample2.b_super,upSample1.b_super,upSample2.b,upSample1.b) * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0001761/0.1278, allocations: 137.7 kB / 377.4 MB, free: 1.219 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003238/0.1281, allocations: 113.5 kB / 377.5 MB, free: 1.102 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.729e-05/0.1282, allocations: 20.77 kB / 377.5 MB, free: 1.082 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.747e-06/0.1282, allocations: 4 kB / 377.5 MB, free: 1.078 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.1282, allocations: 0 / 377.5 MB, free: 1.078 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.1282, allocations: 0 / 377.5 MB, free: 1.078 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000207/0.1284, allocations: 133.2 kB / 377.6 MB, free: 0.918 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.1284, allocations: 480 / 377.6 MB, free: 0.918 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001887/0.1286, allocations: 27.98 kB / 377.6 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.1286, allocations: 4 kB / 377.7 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.787e-05/0.1286, allocations: 3.984 kB / 377.7 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.1286, allocations: 4 kB / 377.7 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.1286, allocations: 3.938 kB / 377.7 MB, free: 0.875 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004842/0.1291, allocations: 259.3 kB / 377.9 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/0.1292, allocations: 27.83 kB / 377.9 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.112e-05/0.1293, allocations: 7.984 kB / 378 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001767/0.1294, allocations: 12 kB / 378 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.636e-05/0.1295, allocations: 0 / 378 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.429e-05/0.1295, allocations: 8 kB / 378 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000136/0.1296, allocations: 123.1 kB / 378.1 MB, free: 436 kB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1296, allocations: 0 / 378.1 MB, free: 436 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005303/0.1302, allocations: 20 kB / 378.1 MB, free: 416 kB / 334.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: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Number of discrete states: 0 () * Number of clocked states: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0001459/0.1303, allocations: 107.1 kB / 378.2 MB, free: 300 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003727/0.1307, allocations: 108.8 kB / 378.3 MB, free: 192 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1307, allocations: 4.062 kB / 378.3 MB, free: 188 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.106e-05/0.1307, allocations: 4 kB / 378.3 MB, free: 184 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006535/0.1314, allocations: 83.47 kB / 378.4 MB, free: 104 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000704/0.1321, allocations: 270 kB / 378.7 MB, free: 15.8 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000159/0.1323, allocations: 102.3 kB / 378.8 MB, free: 15.68 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.237e-05/0.1323, allocations: 17.53 kB / 378.8 MB, free: 15.66 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.8e-05/0.1324, allocations: 20.5 kB / 378.8 MB, free: 15.64 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1324, allocations: 0 / 378.8 MB, free: 15.64 MB / 350.1 MB Notification: Performance of Templates: time 0.005932/0.1383, allocations: 1.33 MB / 380.1 MB, free: 14.33 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample1/UpSample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.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.448788312030956]